This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - osler

Pages: [1] 2 3 4
1
Modelling and Animation / Re: [RELEASE] Easy Loginscreen
« on: April 02, 2015, 01:44:01 pm »
Quote from: "mariobox"
Quote from: "Eponyx"
How come when I use this the borders up and down are not filled in with my background? Here's a example of what I mean... I tried everything to fix this but I couldnt..

Tnx


got the same problem as this guy, anyone knows?

Try to remove the following code in LoginScene.lua
Code: [Select]
LoginScreenBlackBoarderTOP = AccountLogin:CreateTexture(nil,"OVERLAY")
LoginScreenBlackBoarderTOP:SetTexture(0,0,0,1)
LoginScreenBlackBoarderTOP:SetHeight(500)
LoginScreenBlackBoarderTOP:SetPoint("BOTTOMLEFT", LoginScene, "TOPLEFT", 0,0)
LoginScreenBlackBoarderTOP:SetPoint("BOTTOMRIGHT", LoginScene, "TOPRIGHT", 0,0)

LoginScreenBlackBoarderBOTTOM = AccountLogin:CreateTexture(nil,"OVERLAY")
LoginScreenBlackBoarderBOTTOM:SetTexture(0,0,0,1)
LoginScreenBlackBoarderBOTTOM:SetHeight(500)
LoginScreenBlackBoarderBOTTOM:SetPoint("TOPLEFT", LoginScene, "BOTTOMLEFT", 0,0)
LoginScreenBlackBoarderBOTTOM:SetPoint("TOPRIGHT", LoginScene, "BOTTOMRIGHT", 0,0)

2
Modelling and Animation / Re: [RELEASE] Easy Loginscreen
« on: March 08, 2015, 03:38:45 pm »
I have been using this for a few days and so far it is amazing, although I am unable to use images bigger than 1024*1024 as backgroud.
Is there any way to use a 1920*1080 image or any other resolution bigger than 1024*1024?

3
Tutorials / Re: [TUTORIAL] Own server messages in the alert box on login
« on: February 19, 2015, 05:22:43 pm »
Add a marker (=======////======== for example) to separate the articles. Then split the string http://lua-users.org/wiki/SplitJoin using the marker.

4
Tutorials / Re: [TUTORIAL] Own server messages in the alert box on login
« on: February 18, 2015, 10:27:21 pm »
AFAIK it is not possible to have two server alerts, although you may be able to send both serveralerts through the same event as a big string of text and then divide it.

5
Tutorials / Re: [TUTORIAL] Own server messages in the alert box on login
« on: February 18, 2015, 02:32:43 pm »
In AccountLogin.lua modify the following:

Original
Code: [Select]
function AccountLogin_OnEvent(event, arg1, arg2, arg3)
if ( event == "SHOW_SERVER_ALERT" ) then
ServerAlertText:SetText(arg1);
ServerAlertFrame:Show();
elseif ...

Modified:
Code: [Select]
function AccountLogin_OnEvent(event, arg1, arg2, arg3)
if ( event == "SHOW_SERVER_ALERT" ) then
ServerAlertText:SetText(arg1);
ServerAlertFrame:Show();
ServerAlertCustomText:SetText(arg1);
ServerAlertCustomFrame:Show();
elseif ...

This will display the serveralert text in the new frame, but it will be merely a mirror of the original one since the text is piped into the game through the SHOW_SERVER_ALERT event.

6
Noggit / Re: Problem with textures noggit
« on: February 21, 2014, 05:37:18 pm »
Turn off the lines before saving.

7
Tutorials / Preventing unpatched clients from entering your server
« on: February 18, 2014, 12:39:15 am »

How does this work?


   If the player is using a non modified wow.exe the authserver will reject his login petition.
   If th player is using a modified wow.exe but not a custom patch this error will appear:


Required tools:



How to do it:


  • Change client build ( viewtopic.php?f=26&t=860 ) and make the auth server accept it. https://github.com/TrinityCore/TrinityC ... hCodes.cpp (I'm not sure since I've never done this server modification)
  • Open wow.exe with a hex editor and look for the string "DefaultServerLogin" and modify it in any way. I'll be using "DefaultServerDogin".
  • Open AccountLogin.lua and repeat step two in this file (Line #172)
  • Pack the Lua file in a .mpq file and distribute it and the modified wow.exe

8
Serverside Modding / Re: [QUESTION] how to get sql database from 5.4
« on: October 18, 2013, 11:10:26 am »
I meant that using 4.3.4 DB he would have most of the work done (A 5.4 DB includes all previous patches content). He would  "only" have to create the data for MoP patches.

9
Serverside Modding / Re: [QUESTION] how to get sql database from 5.4
« on: October 14, 2013, 11:50:26 pm »
Maybe https://github.com/Sovak/WowheadRipper

If it doesn´t work the fastest way would be importing trinity 4.3.4 DB

10
Serverside Modding / Re: Change fatigue text
« on: October 13, 2013, 12:16:56 pm »
It´s Lua:

  • Open dataxxXXpatch-xxXX-3.mpq
  • Navigate to InterfaceFrameXML
  • Extract GlobalStrings.lua
  • When extracted open it and look for ACTION_ENVIRONMENTAL_DAMAGE_FATIGUE. Change the text after the = to whatever you want (don´t forget the quotes)
  • Pack it.

Code: [Select]
ACTION_ENVIRONMENTAL_DAMAGE_FATIGUE = "PLACE YOUR TEXT  HERE";

11
Miscellaneous / Re: [QUESTION] WoW render distance?
« on: October 12, 2013, 09:25:32 pm »
I don´t know anything about memory editing, so I can´t help you anymore, sorry ;(

12
Miscellaneous / Re: [QUESTION] WoW render distance?
« on: October 12, 2013, 08:13:58 pm »
I found ths: http://www.wow-one.com/forum/topic/2500 ... wdistance/ (Post #13)
When pastebin comes back you should check http://pastebin.com/f49971dd7 It might contain some interesting info.

--Edit--

It´s an AutoIt tool which rewrites the memory, so it should be useful

13
Miscellaneous / Re: [QUESTION] WoW render distance?
« on: October 12, 2013, 08:04:01 pm »
As far a I know it´s controlled by the client. Interface modifies it throug CVars.

I think that the CVar is limmited by the client, but you might try to execute this on the chat: (change VALUE)
Code: [Select]
/script SetCVar("farclip", VALUE)

15
Texturing and 2D Art / Re: Cinematic to 2D art
« on: October 07, 2013, 02:18:13 pm »
I´m not very skilled in Lua, but i think that it should be something like this:
Code: [Select]
local init = 0
local numframes = 10 --Change 10 by the number of frames

function ChangeBackground()
FunctionToSetTheBackground(init)
--[[Maybe something like:
function SetBackground(id)
frame:SetTexture("route/to/the/blp"..id..".blp")
end]]
init = init+1;
if ( init == numframes ) then
init = 0;
end
return init;
end

local total = 0
 
local function onUpdate(self,elapsed)
total = total + elapsed
if total >= 2 then --Change 2 by the FPS you want (2 = 0.5 fps, 1/30 = 30 fps)
ChangeBackground()
total = 0
end
end
 
local f = CreateFrame("frame")
f:SetScript("OnUpdate", onUpdate)

Pages: [1] 2 3 4