Epoque

r15982: Script Engine Update

Recommended Posts

Super Like IT!

Share this post


Link to post
Share on other sites

Finally! XD Thanks guys. :)

Share this post


Link to post
Share on other sites

Finally ! Thanks a lot. :)

Share this post


Link to post
Share on other sites

Yeah, great news!, I don't know why, but this made me very happy, it always annoyed me having to use set.

Share this post


Link to post
Share on other sites

makes life more easy!

thumbs up!

Share this post


Link to post
Share on other sites

and now please run a small script to replace the code within the npc folder, that would be awesome! :)

19540367.jpg

Share this post


Link to post
Share on other sites

That's a great news, congratulations !

Share this post


Link to post
Share on other sites

Thanks

Share this post


Link to post
Share on other sites

I think in line 1092 of script.c there is a mistake.

Edited by Zeromaru

Share this post


Link to post
Share on other sites

I think in line 1092 of script.c there is a mistake.

You're correct good sir. Thanks for pointing that out, wouldn't have seen it otherwise.

Share this post


Link to post
Share on other sites

we can use "@i ++" now

and set var by "@var, 5" ?

Share this post


Link to post
Share on other sites

You should keep the values returned by search_str("set"), search_str("callfunc") and search_str("getelementofarray") into global variables to avoid searching for them at every occurrence of assignment statements and user-defined function calls.

Share this post


Link to post
Share on other sites

You should keep the values returned by search_str("set"), search_str("callfunc") and search_str("getelementofarray") into global variables to avoid searching for them at every occurrence of assignment statements and user-defined function calls.

Indeed, this was something I brought up in the staff channel on IRC. I've been trying to collect a list of additional changes that need committing, and this is on the list. You have a keen eye, great minds think alike :)

Share this post


Link to post
Share on other sites

Thanks! that will make our lives more easier.

P.S If you are not busy, try adding abs() also. So the unidentified groupranditem() will be reverted to its normal :) Ya know what has been broken down there.

Share this post


Link to post
Share on other sites

Update

It's important to note that r15998 appears to fix a long-standing issue that appears to have been present in rAthena for an extended period of time. For whatever reason, the instance variable storage system was not being initialised (thus instance variables were not being saved or recorded.) If anyone has any reports prior to r15998 of instance variables not working, please let me know. It baffled our team temporarily as to why this was the case in the source.

Thanks.

Share this post


Link to post
Share on other sites

was looking forward to this, thanks <3 Love you, Love it!

Share this post


Link to post
Share on other sites

Wow...this is nice...xD

now Z3R0 wont be needed to worry of writing these in the scripts xD hahaha~

Share this post


Link to post
Share on other sites

Nice!

I always enjoyed this new-old way of scripting (More Like-C) from that mod-released in the old ea. Good job ...

Share this post


Link to post
Share on other sites

the last known bug from this feature has been fixed in r16555. should you step by any bugs please step by our core bug tracker :3 thank you

  • Upvote 5

Share this post


Link to post
Share on other sites

Great ! :)

But how to call a function without using "callfunc", I have not found how to do it.

It does not work like that :

- script Test_Call_Function  -1,{

OnInit:
Test("Hello !");
end;
}

function script Test {

 announce getarg(0),bc_all;
 return;
}

Thank you for your help ! :P

Share this post


Link to post
Share on other sites

@Swadon: The function needs to be loaded before it's called, so either move it before the script or place it in another script file altogether.

  • Upvote 1

Share this post


Link to post
Share on other sites

Ooh, stupid error ! /pat

Thank you ! .. :rolleyes:

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.