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 - stoneharry

Pages: [1] 2 3 ... 41
The frame is probably appearing beneath your login screen. Trying lowering the frame level off the login screen or raising it on the alert frame. See:

You could also try adding some debug code to print the frame variable and check what the URL string value is.

If it's 3.3.5a you are modding you can use my spell editor:

General / Re: Greetings! This is my Idea. Is it possible?
« on: July 13, 2017, 09:55:15 pm »
I did some tests with changing the game speed here:

Code: [Select]

local currentTime = os.clock()
local lastTime = nil
-- (60 minutes * 4 hours) * 0.1 = 24
local newHoursPerMinute = 0.1 * 10 * 5
local normalHoursPerMinute = 0.01666667

function Player:UpdateTimeSpeed()
local p = CreatePacket(66, 12) -- SMSG_LOGIN_SETTIMESPEED
p:WriteULong(currentTime / 1000) -- time
p:WriteFloat(newHoursPerMinute) -- speed

local function timeIncrementer(_, _, _)
--print("-- Updating Time")

local functionTime = os.clock()
local diffInMs = functionTime - (lastTime or 0)
local update = (normalHoursPerMinute / newHoursPerMinute) * diffInMs

--print("diffInMs: " .. tostring(diffInMs))
--print("update: " .. tostring(update))
--print("newTime: " .. tostring(currentTime + update))

currentTime = currentTime + update
lastTime = os.clock()

-- hack debug
--[[local plrs = GetPlayersInWorld(2)
if plrs then
for _,v in pairs(plrs) do
if v then

CreateLuaEvent(timeIncrementer, 10000, 0)

-- On every zone change (i.e: login, etc) resend time

local function PLAYER_EVENT_ON_UPDATE_ZONE(event, player, newZone, newArea)
if player then

RegisterPlayerEvent(27, PLAYER_EVENT_ON_UPDATE_ZONE)

-- Debugging

local function PLAYER_EVENT_ON_CHAT_TIKKI(event, plr, msg, _type, lang)
if not plr:IsGM() then
if (msg == "#time") then
return false

RegisterPlayerEvent(18, PLAYER_EVENT_ON_CHAT_TIKKI)

General / Re: Shoutout to Steff and the Rest
« on: March 07, 2017, 10:24:42 pm »
Yes, this is much better than the previous setup. Good work. Can we get a shoutbox back now? :P

Random / Re: What happened to the website?
« on: February 14, 2017, 07:15:24 pm »
This is the problem when you get small-time developers wanting to start up their own emulation board. You lose the resource. Every time.

Resources and Tools / Re: [TOOL] Spell Editor GUI V2
« on: December 30, 2016, 02:38:32 am »
Added SQLite support, improved icon editor, many other fixes/improvements/additions:

Miscellaneous / Re: [WotLk] [QUESTION] Custom Flight Path Crashes Game
« on: December 23, 2016, 10:21:27 pm »
Quote from: "Magnus"
How you are going than to fly without the flight masters gossip menu ?

Normally the client crashs if players haven't installed a proper custom patch. And the client needs the DBC data to create a visual flight map.

So, practically you need a client modification. Otherwise there is no fun.

You can activate flight paths through other methods than a flight master menu, just for example:

Miscellaneous / Re: [WotLk] [QUESTION] Custom Flight Path Crashes Game
« on: December 23, 2016, 04:12:53 pm »
Quote from: "Magnus"
Custom flight paths needs some work on DBCs, client and server side.

What have you done exactly and which tutorial did you follow ?

Well, technically, no. Flight paths can be done entirely server side. To make flight masters with the gossip menu, that requires client side edits. Transports (for example, ships) need the client side data also.

Serverside Modding / Re: [LUA BUG] Character Create - Lua Bug
« on: December 18, 2016, 12:45:22 pm »
Quote from: "raresrap"
Quote from: "Grymskvll"
Quote from: "raresrap"
It doesn't matter if I modify the files or not, it gives the same error.

You might be modifying an outdated version of the interface file. Think you want the one from patch-xxXX-2.MPQ

Thank you. Now if I put this files in the game as they were, there is no error.

All I need to figure out now is how to delete a race. I tried dbc, it's not working, it only makes it unsuable but still selectable. Same thing with worldserver.conf . I think it's charactercreate.xml but I can't find what I need

It is charactercreate xml that you need to modify. It defines a series of buttons for each race. You can't just delete them because other places reference this and it will error, but you could easily hide all the buttons apart from one (button:Hide()).

Resources and Tools / Re: Is there a CLI tool for creating MPQs ?
« on: October 02, 2016, 02:38:55 pm »
I mean, I don't have a CLI tool but Hanfer did this effectively for a Blizzard Installer tool: ... create.cpp

Resources and Tools / Re: [MISC] [DEVLOPMENT] 010 Editor Templates
« on: August 07, 2016, 10:32:00 pm »
Quote from: "polliakove"
Links are dead up please

Here is my copy of them: ...

edit: And I already posted a copy further up.

Miscellaneous / Re: [QUESTION] Login Information
« on: July 30, 2016, 01:55:09 pm »
Quote from: "Nupper"

I want to add Version Info, Logo and Breaking news...How would i do that?

Logo = texture.

Version info = AccountLogin.lua, change how the function behaves in the binary that gets the version info or just handle and display some stuff based on some logic in the Lua code.

Breaking news: viewtopic.php?f=61&t=778

Serverside Modding / Re: [QUESTION] Problems with MySQL
« on: July 21, 2016, 08:28:40 pm »
MySQL is software for managing data. A query-able relational database.

The MySQL server software is being distributed with the repack and is in another location apparently. You can have as many MySQL installations as you want but only one can run on a single port at once. 3306 is the default port, but if you need multiple MySQL servers running you can configure them to run on a different port.

Your emulator, included in a repack, connects to and uses a MySQL server. You can have many different databases on a single MySQL server. You need to find out the connection details to your repacks MySQL server, you can grab that out of the world and auth configuration files.

You can export databases in one MySQL server and reimport them to the other easily enough.

All of this information can be found on google.

Pages: [1] 2 3 ... 41