Alright so I am currently using ArcEmu revision 506 and it won't accept my custom lua scripts. The error message I get is:
Server has crashed. Reason was:
an Access Violation at 0x7C9110E9
or
Server has crashed. Reason was:
an Access Violation at 0x1B0A1FD4
and so on.
This occurs when I am starting up the arcemu-world.exe. Some lua scripts works fine but there are some certain ones that don't, so it's probably something in the code that it won't recognize. My questions are the following:
1. Why does Arcemu-world crash on the lua scripts? Can't it just ignore? What is wrong?
2. Can I change the LUAscripting.dll to make it work with my current scripts? How?
3. In the arcemu-world.conf, I can enable AS and LUA. What does "AS" do?
Add as much info as possible so I can solve this problem please ^^!
Also here are the two scripts I have as example. They are in order as in the errors I got before:
Server has crashed. Reason was:
an Access Violation at 0x7C9110E9
http://pastebin.com/N1twQ96x
Server has crashed. Reason was:
an Access Violation at 0x1B0A1FD4
http://pastebin.com/73gTsTrB
Also here is a lua script that the arcemu-world.exe accepted:
http://pastebin.com/exfhdME9
+rep if someone can fix this for me ^.^! Would be very grateful! Also please answer all three questions if you can and I will +rep for each
Most important of all is if you know a way I can change and recompile in core so that all lua scripts works for me!