Jump to content

Z3R0

Members
  • Content Count

    21
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Z3R0

  1. Couldn't find a place to add bug report from here... so here it goes... array_push skips 0 values, where as setarray() does not I tested with the following script prontera,154,170,4 script TEST 98,{ setarray(.@one, 0, 1, 2, 3); dispbottom(getarraysize(.@one)); // 4 for(.@i = 0; .@i < getarraysize(.@one); .@i++) { dispbottom(.@one[.@i]); // Displays 0,1,2,3 array_push(.@two, .@i); // Pushes 0,1,2,3 to array .@two } dispbottom(getarraysize(.@two)); // 3 for(.@i = 0; .@i < getarraysize(.@two); .@i++) { dispbottom(.@two[.@i]); // Displays 1,2,3 // Skips 0 } }
  2. I would like to see an array_diff(.@array, .@array2).... something like... @array1[0] = 1, 2, 3; @array2[0] = 1, 2, 3, 4, 5, 6, 7, 8, 9; array_diff(@array1, @array2) = [ ] array_diff(@array2, @array1) = [ 4, 5, 6, 7, 8 ] First Array contains all items you WANT with any/all items from Second Array.... so in the first example with 1,2,3 it only checks against 1,2,3 existing in [1,2,3,4,5,6,7,8] Where as in the second example it checks [ 1,2,3,4,5,6,7,8 ] for any or all occurrences of [1,2,3] and returns the ones that don't match.. [4,5,6,7,8 ]
  3. It's been a couple of years and for my absence, I want to apologize to those that knew me. I unfortunately went completely MIA. A lot has happened in the last couple of years, and I figured I owed it to some of you for just taking off the way I did. For the past couple of years, I have been going through a custody battle with my ex wife and it finally came to a close about a year ago. Work has been strenuous and I haven't really been able to do anything. I am finally to a point where I have stability in my life and things are finally looking up rather than down. I know I probably left many of you hanging and wondering... Where did Z3R0 go? I didn't die, I didn't leave, and I definitely missed RO. I'm coming back to study, to mentor, to help and support. I hope that you guys can forgive me for bum rushing out of here like I did, but I have always thought about the RO Community. I miss all of you, and I am so glad to be back. Z3R0
  4. Z3R0

    Boo

    1. Show previous comments  1 more
    2. Z3R0

      Z3R0

      Guess you don't remember me? lol it's been a while

    3. Masao

      Masao

      I remember your name, but nothing more, sorry :D Probably has been a very long while.

    4. Z3R0

      Z3R0

      Tis all good, I was pretty active in the scripting side of eA, rA, and Herc :D Just been a while ^^

  5. Maybe try .register_count = 0; sleep 5001; killmonsterall .map$;
  6. ah you have == 0 for getmapusers... that is wrong... when a player dies... he is still on the map... you have the first check for greater than 1... your next check has to be <= 1....
  7. Z3R0

    how?

    if ur doing it via npc... onpckillevent getpartymembers () for loop attachrid class ()
  8. no do not set register_count inside the loop itself both things I mentioned go on the OnPCDieEvent
  9. maybe so @@Mysterious but to me it's the journey not the destination
  10. add killmonsterall to end of OnPCDieEvent and set .register_count to 0 so the while () no longer works
  11. wouldn't this be a request not for support?
  12. It's quite simple actually if ($koegid) && getcharid(2) == $koegid) getitem etc... getitem etc... is your problem... IF statements without wrapping { } will only trigger on the NEXT command and anything afterwards is just a normal command... so players (non guildies) are getting every item EXCEPT the one directly below the IF statement... Wrap the entire getitem contents in { } if ($koegid && getcharid(2) == $koegid) { getitem etc... getitem etc... getitem etc... }
  13. Z3R0

    command

    Question... Are only 30 people able to accept the quest? first come, first serve? is there something the players must do in order to be allowed to accept the given quest? Can you please be a little more specific? This is very easily able to be done, however a little more information is necessary
  14. 1-5x anything else is ridiculous
  15. Z3R0

    Z3R0 Here ;)

    woot hey @@TecnoCronus
  16. Few things off the top of my head... .@category = select ( "Option 1", "Option 2", "Option 3" ) - 1; // Is setting the .@category to a ZERO based index... where .@category is 0 to 2 .@quest_size = getd( ".quest_id_"+.@category+"_size" ); // Is setting .@quest_size to .quest_id_(0-2)_size (0 doesn't exist...) There's probably more but that should be a start...
  17. Z3R0

    Z3R0 Here ;)

    @@Rytech Yep! It's been a while, definitely already getting into the game... @@GmOcean Of course, I have been off and on with eAthena, rAthena, and now Hercules! It's great to be back in the Community once again ... I'm looking at making a new commands setup, if you're interested I have been doing a lot of webdev on the side, so I will probably start making it tonight
  18. Z3R0

    Z3R0 Here ;)

    Yes 'em I remember Hahah okay good . We created a Plugin System here at Hercules (we only have this system) that pretty much allows people to create code without affecting the main source files (i.e. implement commands, functions): http://herc.ws/board/topic/549-introducing-hercules-plugin-manager/ Tell me more, I read a bit about it from the post... but is it a repository type system? can someone host a github of "plugins" and update via it ?
  19. Z3R0

    Z3R0 Here ;)

    yes it's me mysterious the one and only.. good to see u again emistry... don't know what plug-ins are... I been outta the loop need someone to catch me up on things
  20. Z3R0

    Z3R0 Here ;)

    Much appreciated man It's definitely good to be back... Can't wait to see what's changed and get back into the game! It's been a long time, but I have been told Herc is the new wave of the RO Future
  21. Z3R0

    Z3R0 Here ;)

    Hey guys! Most of you probably don't know me, but I am happy to be back! Looking to help in NPC Scripting Support and hopefully come up with some new and improved concepts! I miss it!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.