Jump to content

Z3R0

Members
  • Posts

    615
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by Z3R0

  1. What's wrong with just 3 announce lines? Wouldn't that accomplish the same feat?...

     

    Never mind forgot that was a global broadcast command... been a while... easier to just use timers and show a new message after x time... don't think you can do line breaks.

  2. Sadly one of the last posts I wrote was my engagement photos... we got divorced within 4 months because she cheated on me... gotta love life... with a new girl now been with for over 3 years and couldn't be happier!

  3. Hey Guys!

    I'm finally at a stable point in my life... Yes, it's been YEARS! I know, but so much has happened I can finally say that I am able to sit down, relax, and enjoy life. I got a great job, stable, and one in which I can actually do things that I wanna do, when I wanna do them. I code all day for Websites (not for work) but personal enjoyment, and I am going to get back into scripting as soon as I can.

    I missed you all, and I wanted to make sure I said that to everyone! It's good to be back.

    Z3R0

    • Upvote 5
  4. Scripting for Dummies will continue. I apologize for my absence... There has been some complications with my family life @ home, and frankly, I just kind of fled from everything. In any case, needless to say, I will have a lot more time on my hands and I will be starting Scripting for Dummies again, once I get my new rig... Should be within the next month.

    Sorry everyone...

  5. http://ea.dj-yhn.com...etinventorylist

    @inventorylist_id[] - array of item ids.

    @inventorylist_amount[] - their corresponding item amounts.

    @inventorylist_equip[] - whether the item is equipped or not.

    @inventorylist_refine[] - for how much it is refine

    So you can use the following

     function del_equipped_item(.@item_id) {
    getinventorylist;
    
    for (set .@a, 0; .@a < @inventorylist_count; set .@a, .@a + 1) {
      if (@inventorylist_id[.@a] == .@item_id && @inventorylist_equip[.@a]) {
    	delitem @inventorylist_id[.@a], 1;
    	goto L_item_delete;
      }
    }
    
    mes "Item Not Found";
    close;
    
    L_item_delete:
    mes "Item Deleted";
    close;
     }
    

    SIGH!!!! Damn you emistry, I didn't even see your post, and oddly enough we posted the exact same piece of code... lol

  6. 1) depending on revision u can use strcharinfo(3) to get mapname or the getmapxy() command... Then check an if against that map

    2) because your check checks if #check == 1 which is what u ser it to and never unset it

    3) store a variable for integer on char such as num_code_wrong and +1 to it in every wrong try... Use

    Switch (num_code_wrong) {

    case 1: mes "one wrong"; close;

    Case 2: mes "two wrong"; close;

    Case 3: mes "three wrong"; close;

    Default: mes "none wrong"; close;

    }

  7. not to mention side bets... the other problem of course, is the ability to show the players their cards... BMP's aren't very useful here, since you can only show one at a time... so you would have to have an image for every possible combination... (lots o images... hooray!) and text based games, just aren't very fun...

    suggestion : create cutin that show multiple card / single card... it would be nicer...xD

    not to mention side bets... the other problem of course, is the ability to show the players their cards... BMP's aren't very useful here, since you can only show one at a time... so you would have to have an image for every possible combination... (lots o images... hooray!) and text based games, just aren't very fun...

    suggestion : create cutin that show multiple card / single card... it would be nicer...xD

    That's what I mean though, you can only show a single cutin else it gets replaced... so you would need an image for every possible card combination...

    Cutins do not stack, they replace...

  8. well party member adding isn't entirely TOO complicated, but there becomes a LOT of checks involved...

    I suggest look at getpartymember; and attachrid

    the problem however, is that you will also need to make sure you check getmapxy() and you can even then do the vicinity of the player near the person who killed the monster...

    aka, they must be within 50 cells away or w/e ... or even on the same map!

    http://ea.dj-yhn.com/index.php?c=getpartymember

    http://ea.dj-yhn.com/index.php?c=attachrid

    http://ea.dj-yhn.com/index.php?c=getmapxy

  9. not to mention side bets... the other problem of course, is the ability to show the players their cards... BMP's aren't very useful here, since you can only show one at a time... so you would have to have an image for every possible combination... (lots o images... hooray!) and text based games, just aren't very fun...

×
×
  • Create New...