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
1
« on: April 02, 2015, 01:44:01 pm »
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 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
« 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
« 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
« 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
« on: February 18, 2015, 02:32:43 pm »
In AccountLogin.lua modify the following:
Original
function AccountLogin_OnEvent(event, arg1, arg2, arg3) if ( event == "SHOW_SERVER_ALERT" ) then ServerAlertText:SetText(arg1); ServerAlertFrame:Show(); elseif ...
Modified:
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
« on: February 21, 2014, 05:37:18 pm »
Turn off the lines before saving.
7
« 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
« 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.
10
« 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.
ACTION_ENVIRONMENTAL_DAMAGE_FATIGUE = "PLACE YOUR TEXT HERE";
11
« on: October 12, 2013, 09:25:32 pm »
I don´t know anything about memory editing, so I can´t help you anymore, sorry ;(
13
« 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)
/script SetCVar("farclip", VALUE)
14
« on: October 08, 2013, 03:46:10 pm »
15
« 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:
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)
|