Lineage 2 Tower Forum

Full Version: 1.4.1.119/120 bug in this:Include
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
this:Include() doesn't work at all now :/

i put this:Include("1.lua") into some script, then execute it, but 1.lua doesn't get executed.

and as before, this:Include(GetDir() .. "scripts\\subdir\\1.lua") is crashing l2 client.
this:Include("subdir\\1.lua"); don't work ?
check logs what type of crash it is...


if not - then I will look into that tomorrow...
no, this is not working, but with different behavior:

if subdir\\1.lua is exist, then this:Include("subdir\\1.lua") runs without error, but 1.lua is not executing.

if subdir\\1.lua is not exist, l2 client is crashing, Critical..zip created in reports folder, in GameError.log i see this (not sure if it will help) :
INFO: Assertion failed: Defaults.Num() [File:f:\work\gd\gd35_0828\warfare2110\core\inc\UnClass.h] [Line: 551]


what i want from this:Include is to have some .lua and be able to load it from any script and plugin (a lot of functions in this lua).
bug auto ress not ress

anyone have a script auto accept ress ?
full bug!!!! this version...................not accept the res.... and a lot of bugs more

for now I downgrade the version to 119

the bugs continue.....

all scripts craped....rez autopin etc...
crash because exception is throw, I wil add capture today...
(04-07-2014 09:15 AM)ClockMan Wrote: [ -> ]crash because exception is throw, I wil add capture today...

please =( fix it Sad
(04-07-2014 09:15 AM)ClockMan Wrote: [ -> ]crash because exception is throw, I wil add capture today...
@ClockMan, thank you very much, no more crashes now Smile
but there is another issue: when this:Include couldn't load file for any reason, it doesn't give any error, it just skips included file

could you please make it generating error when file failed to load, like dofile does?
thanks!

oh, it's even worse :/
for example i run: this:Include("file.lua")
now, if file.lua has any error, file.lua script just silently stops without reporting an error.
this:Include returns true on success, false on fail.

file.lua should be in scripts folder.
make /dump and check if there are some errors related to file.lua
Reference URL's