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
1
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: https://wow.gamepedia.com/g00/FrameStrata?i10c.ua=1&i10c.encReferrer=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS8%3d&i10c.dv=16

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

3
If it's 3.3.5a you are modding you can use my spell editor: https://github.com/stoneharry/Spell-Editor-GUI-V2

4
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
p:WriteULong(0)
self:SendPacket(p)
end

local function timeIncrementer(_, _, _)
--print("----------------")
--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
v:UpdateTimeSpeed()
end
end
end]]
end

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
player:UpdateTimeSpeed()
end
end

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
return
end
if (msg == "#time") then
plr:UpdateTimeSpeed()
return false
end
end

RegisterPlayerEvent(18, PLAYER_EVENT_ON_CHAT_TIKKI)
https://github.com/stoneharry/ZombiesProject/blob/master/Server%20Scripts/Systems/TimeSystem.disabled

6
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

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

8
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:

https://github.com/stoneharry/Spell-Editor-GUI-V2/

9
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: http://www.wowhead.com/search?q=taxi#spells

10
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.

11
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()).

12
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: https://github.com/stoneharry/Blizzard- ... create.cpp

13
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: https://dl.dropboxusercontent.com/u/110 ... plates.zip

edit: And I already posted a copy further up.

14
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. http://wowwiki.wikia.com/wiki/Widget_API

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

15
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