Stabatha
-
Posts
6 -
Joined
-
Last visited
-
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by Stabatha
-
-
Yeah this is on enter world from creation. The script teaches all class spells, racials, adds item sets etc. does away with playercreate info stuff in sql.
-
With trying to transfer my scripts over from Ascent, I've having an issue with my script that teaches all class spells and skills.
void AddSC_oncreate() { mgr->register_hook(SERVER_HOOK_EVENT_ON_FIRST_ENTER_WORLD, (void*)PlayerFirstEnter); }
1>oncreate.cpp
1>..\\scripts\\custom\\oncreate.cpp(351) : error C2065: 'mgr' : undeclared identifier
1>..\\scripts\\custom\\oncreate.cpp(351) : error C2227: left of '->register_hook' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>..\\scripts\\custom\\oncreate.cpp(351) : error C2065: 'SERVER_HOOK_EVENT_ON_FIRST_ENTER_WORLD' : undeclared identifier
-
Can I write and compile custom scripts like I do with Ascent? If so where do the dll files go? Like Ascent is /core/script_bin/ Also does Mangos support LUA? If so, same thing where do you put your LUA files. Like example /core/scripts. Lastly, is there anything like MoonScripts for Mangos?
-
I am trying to apply a patch under the new git system using Msysgit for windows. I received the latest build fine, but patching I get an error.
admin@LSN-D1724 ~
$ git clone git://github.com/mangos/mangos.git
Initialize mangos/.git
Initialized empty Git repository in C:/Documents and Settings/admin/mangos/.git
remote: Counting objects: 4471, done.←[K
remote: Compressing objects: 100% (3520/3520), done.←[K
remote: Total 4471 (delta 1486), reused 3747 (delta 905)←[K
Receiving objects: 100% (4471/4471), 14.70 MiB | 408 KiB/s, done.
Resolving deltas: 100% (1486/1486), done.
admin@LSN-D1724 ~
$ git am arena.patch
fatal: Not a git repository
admin@LSN-D1724 ~
$
Help with server hook needed
in OldC / C++
Posted
Yeah I'm aware you can do it via database, BUT it is a lot faster for me via my script case Rogue: pushitemset=654 rather then having to put 8 lines of sql per class/race, same with spells and skills.
Also some of the things my script did that a database can't do is put them into a beginner guild, start them with private or grunt, teach all flight paths and explore all maps just to name a few.
Please consider this hook for future builds =)