Thread: [Dodian] Object Training (rep++)

Results 1 to 5 of 5
  1. #1 [Dodian] Object Training (rep++) 
    Registered Member HyreScape's Avatar
    Join Date
    May 2008
    Posts
    530
    Thanks given
    2
    Thanks received
    1
    Rep Power
    42
    I am currently making my new Dodian based PVP server and I am going to have object training. I have the object codes and I have spawned them in their places. But when I try and add the coding for the object training it dose not seem to work. I want it to be on a timer as well where you can only click the object once a second, so they cannot use auto clickers and so forth. So can anyone please help me. I will rep++.

    Object #1:
    ID: 823 (Dummy)
    Coords: 3180, 3439

    Object #2:
    ID: 2513 (Target)
    Coords: 3180, 3440

    If you could just give me the proper codeing and show me where to add it for one of them I am sure I could figure the rest out. Thank you.
    Reply With Quote  
     

  2. #2  
    Registered Member
    G0nzo's Avatar
    Join Date
    Feb 2009
    Posts
    4,960
    Thanks given
    514
    Thanks received
    546
    Rep Power
    1735
    case 823: // Dummy
    addxp($$, ####);
    break
    case 2513: // Target
    addxp($$, ####);
    break

    the $$ is the skill id
    the #### is the xp given,

    plz note this has no timers so can be spammed and im unsure if addxp (int i, int x)
    is the correct void for dodian
    Computer Science Graduate, Java Expert
    Need help with something? PM me
    Reply With Quote  
     

  3. #3  
    Registered Member HyreScape's Avatar
    Join Date
    May 2008
    Posts
    530
    Thanks given
    2
    Thanks received
    1
    Rep Power
    42
    G0nzo,
    I have tried that and it dose not work.
    Reply With Quote  
     

  4. #4  
    Registered Member
    G0nzo's Avatar
    Join Date
    Feb 2009
    Posts
    4,960
    Thanks given
    514
    Thanks received
    546
    Rep Power
    1735
    u need to put it under ur first click object packet

    inbetween

    the switch(id)

    and the break;
    Computer Science Graduate, Java Expert
    Need help with something? PM me
    Reply With Quote  
     

  5. #5  
    Registered Member HyreScape's Avatar
    Join Date
    May 2008
    Posts
    530
    Thanks given
    2
    Thanks received
    1
    Rep Power
    42
    G0nzo,
    Gahh I cant find my first click object packed....
    Reply With Quote  
     


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
  •