Thread: How to spawn a stall with rewards.

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 How to spawn a stall with rewards. 
    Rasmux
    Guest
    What you need : Eyes, a Base Server, Pickpocket Base.
    Difficulty: I'd say like 1 or 2? [Probably Less]
    Classes Modified: client.jave
    Tested on : Delta

    This is my first TUT ever so don't blame on me.
    All the stuff posted here are made by me and found out by me.


    Open client.java

    This is a sample from my server which you can add it below any case in ur server.
    This is a sample ObjectID but u can find ur own for ur own stall.

    Code:
    if(objectID == 2561){
    TheifStall("Cake stall", "you got a cake", 1, 50*playerLevel[17], 1891, 5, 0x340);
    }
    The "Cake stall" is the name of the stall
    The "you got a cake" will be the message that will be send when they steal em.
    The "1" is the lvl you need to be to steal from this stall which you can change to 50, 90 or w.e
    The "50" I don't know what it is yet lolz. [Post it if u know what is it]
    The "1891" is the item ID you want to Give to players when they steal from this stall.
    and the "5" is the amount of that item that players will be recieving each time they steal from this stall.

    Once you add that you need to spawn it in the game we gonna seach for :

    Seach for :
    Code:
    public void NewObjects
    All those below are your objects in the game

    We're gonna add :

    Code:
    	       makeGlobalObject(Coords x, Coords y, Object ID, 0, 10);
    The "0" is the Rotation, like where do you want it to be facing (the object) u can put 1, -1... etc)
    The "10" I'm not sure what it is but leave that just like that.

    In this case we'll use this as a sample

    Code:
    	       makeGlobalObject(3089, 3489, 2561, 0, 10);
    Save and Compile.

    That will look like :



    How to find out ObjectsID?
    Here you can download Zodiac's Objects ID for 317 Upload it by me, Made by... Zodiac?
    [Only registered and activated users can see links. ]

    NOTEon't blame me dudes this is my first TUT ever... still learning.

    Credits :
    20% MoparScape (help me find something out)
    5% Zodiac (made this Objects ID List)
    10% DeltaScape (for the great source)
    55% Rasmux [ME] (making this TUT etc...)
    10% rune-server.ee for letting me post this TUT
    Reply With Quote  
     

  2. #2  
    Rasmux
    Guest
    10% deltascape? This should be 100% delta, -500% credits to you.
    Yeah right Delta did a great server but he didn't made this tut dude.

    Soz but ppl should already know this??
    What? A lots of Newbies doesn't , I didn't know it until yesterday... [I'm a newbie of course]
    Reply With Quote  
     

  3. #3  
    Registered Member Tx-Sec's Avatar
    Join Date
    Jan 2008
    Age
    27
    Posts
    521
    Thanks given
    34
    Thanks received
    15
    Rep Power
    68
    Lmfao deltascape noobs will be like omg finaly thieving stalls with rewards.
    Reply With Quote  
     

  4. #4  
    Rasmux
    Guest
    Quote Originally Posted by iMerkedJesus View Post
    LMAO..

    This shit isn't needed.. Obviously if it's in there.. WE KNOW HOW TO DO IT!

    Please, please, please! STOP POSTING THIS USELESS SHIT
    Lmao ur comment isn't needed either and u post it
    Reply With Quote  
     

  5. #5  
    -The Greatest
    Guest
    Honestly.. Keep it up.. There are noob coders out there and there are pro coders.. Just do what you think is good : ]
    Reply With Quote  
     

  6. #6  
    happyisbackk
    Guest
    Rofl i just did it exact same as you said, and it says i need 53 theiving fail, but i suppose nice code lol
    Reply With Quote  
     

  7. #7  
    Registered Member owner range's Avatar
    Join Date
    Aug 2008
    Age
    25
    Posts
    256
    Thanks given
    0
    Thanks received
    2
    Rep Power
    23
    Thankz i need help with adding object rewards on emulous
    Project Vitality V1
    | | | | | | | | | | |
    20% Complete

    - Rep 4 Rep -
    Reply With Quote  
     

  8. #8  
    arrowzftw
    Guest
    LOOL good tut for noobs
    Reply With Quote  
     

  9. #9  
    Registered Member
    Coder Alex's Avatar
    Join Date
    Apr 2009
    Age
    27
    Posts
    1,755
    Thanks given
    86
    Thanks received
    83
    Rep Power
    231
    What a great discovery! No one knew that we could add objects to objectspawn method!!!
    Soo many people worked on this great tutorial!
    What we will do without it?! Thank you very much!
    Rep++!


    P.S.
    Jking
    Reply With Quote  
     

  10. #10  
    xSKYmob
    Guest
    you faggots need to quit flamming. If you don't like his tutorial then hit the fucking back button. It's pre pubescent children like you guys why this community fucking blows.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •