Jump to content

Pet Rental


Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

Author : Goddameit

Idea : http://bit.ly/117PfO6

This command can make a temporary pet, after time run out pet won't be used anymore.

Command :

callfunc "rentPet",<pet id>,<day>,<hour>,<minute>,<second>;

Sample :

rent a poring for 99 days 43 hours 91 minutes 13 seconds

prontera,150,180,4	script	Test	100,{
callfunc "rentPet",1002,99,43,91,13;
end;
}

Dwonload :

SQL : http://pastebin.com/....php?i=1u2JmtgJ

Script : pet_rental.txt

PS :

This script maybe lead to server little lag.

PS :

Not 100% sure this work well.

PS :

This script can be more efficiently but don't ask me for this

(I don't care this :P).

Edited by goddameit
  • Upvote 3
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

wow nice script.

can i ask if i rent a pet then i attack a monster will pet attack the mobs? or player?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

wow nice script.

can i ask if i rent a pet then i attack a monster will pet attack the mobs? or player?

use 'summon'

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

that's confuse, how do i make the NPC that you need to require item to exchange with the rentEgg? something like 1 poring Coin = 1 RentEgg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

that's confuse, how do i make the NPC that you need to require item to exchange with the rentEgg? something like 1 poring Coin = 1 RentEgg

you need to learn how to write a npc for exchange something by yourself.

I think there is a lot of sample in rA here

Edited by goddameit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

that's confuse, how do i make the NPC that you need to require item to exchange with the rentEgg? something like 1 poring Coin = 1 RentEgg

you need to learn how to write a npc for exchange something by yourself.

I think there is a lot of sample in rA here

thanks godamit, Clydelion helped me to done this NPC ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

KEWL NICE SCRIPT :D

thx

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  04/27/13
  • Last Seen:  

nice script !!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...