Z3R0

Members
  • Content count

    21
  • Joined

  • Last visited

  • Days Won

    2

Z3R0 last won the day on July 15

Z3R0 had the most liked content!

About Z3R0

  • Rank
    Member
  • Birthday 09/27/84

Contact Methods

  • Skype
    seo.roman.lopez

Profile Information

  • Gender
    Male
  • Location:
    Austin, TX
  • Interests
    NPC SCRIPTING
  • Emulator:
    Hercules
  • Github
    SeoRoman

Recent Profile Visitors

766 profile views
  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([email protected], 0, 1, 2, 3); dispbottom(getarraysize([email protected])); // 4 for([email protected] = 0; [email protected] < getarraysize([email protected]); [email protected]++) { dispbottom([email protected][[email protected]]); // Displays 0,1,2,3 array_push([email protected], [email protected]); // Pushes 0,1,2,3 to array [email protected] } dispbottom(getarraysize([email protected])); // 3 for([email protected] = 0; [email protected] < getarraysize([email protected]); [email protected]++) { dispbottom([email protected][[email protected]]); // Displays 1,2,3 // Skips 0 } }
  2. I would like to see an array_diff([email protected], [email protected]).... 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. 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. 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. 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