

Foereaper
getMaNGOS Developer-
Content Count
596 -
Joined
-
Last visited
-
Days Won
1 -
Donations
0.00 GBP
Foereaper last won the day on May 14 2018
Foereaper had the most liked content!
Community Reputation
6 NeutralAbout Foereaper

-
Rank
Senior getMaNGOS Developer
- Birthday 01/01/1940
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
http://www.elunaengine.com/Global/PerformIngameSpawn.html PerformIngameSpawn has an optional variable after orientation you can use to save the creature to the database :)
-
Xardion, I primarily do windows development, and I have that working properly, would you be interested in helping me out with the Linux side of things? Primarily testing, as I don't have a Linux test environment set up atm
-
This might be a bit late, but I am currently working on implementing LuaSocket and LuaSec as officially supported modules for Eluna
-
Like the error says, you are trying to compare a string to a number, change either of your variables to the desired type.
-
Yes, what you did below would also work, the original example however stores the data specifically to a Lua table so the information can be used/re-used at a later time without having to query the database again. Instead of printing "datee" directly like you tried to, you would use the table DatabaseCache with the account ID as a key to call the specific information, like shown below: local DatabaseCache = {} local function LoadDatabase(event, player) local ExampleQuery = CharDBQuery("SELECT active, date FROM premium WHERE AccountId = "..player:GetAccountId()); if(ExampleQuery)th
-
You need to update your query to select all the necessary information that you need, you're currently only selecting date, not everything else you need as well local DatabaseCache = {} local function LoadDatabase(event, player) local ExampleQuery = CharDBQuery("SELECT active, date FROM premium WHERE AccountId = "..player:GetAccountId()); if(ExampleQuery)then repeat DatabaseCache[player:GetAccountId()] = { active = ExampleQuery:GetUInt32(0), datee = ExampleQuery:GetUInt32(1) }; until not ExampleQuery:NextRow() en
-
How to make mangosd.exe always restart. [windows]
Foereaper replied to lurr's topic in MaNGOS University
As a side note, this will prevent EVERY error box from showing for any other program as well, as well for debug builds. Use at your own risk- 3 replies
-
- nondebugstuff
- restart
-
(and 2 more)
Tagged with:
-
Glad to hear you got it working, and yeah, the service part is a bit iffy, I never actually bothered to try setting it up properly hehe.
-
Yes, depending on your current database version and the expected database version, as seen in the world log during startup. It will tell you the structure you have and what is expected, and you run any updates from the update folder in correct order between those two points.
-
You either have to connect to the database and execute the update sql files via a client like heidisql or sqlyog, or through the MySQL command line tool. Either works, though I prefer to use a client.
-
It should be called world-server.log, log directory can be set in the configs
-
You'll have to post the full log, what you're showing there doesn't really say anything that could determine what the issue is
-
UpdateStatPoints is probably a custom method, it is not something that is part of Eluna by default at least. Where did you get that method from? Only function I see called in the original script is UpdatePlayerStats(player)
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions

You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®