Jump to content
  • 0

rental problem


rexxar31

Question


  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

when i rent a cart and when i reconnect the cart is gone.. how to fix this? thanks :)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2350
  • Joined:  10/28/11
  • Last Seen:  

what cart ? merchant cart ?

do you have any script that remove users cart upon login ?

check your script...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

//===== eAthena Script =======================================
//= Custom Free Breeder aka Universal Renter (not reccomended)
//===== By: ==================================================
//= eAthena Team
//===== Current Version: =====================================
//= 1.7
//===== Compatible With: =====================================
//= eAthena 1.0 Final +
//===== Description: =========================================
//= A Free PecoPeco and Falcon Breeder
//===== Additional Comments: =================================
//= 1.1 FIXED checkriding/cart/falcon funcs [Lupus]
//= 1.2 Added Rebirth/Advanced Class support [Mass Zero]
//= 1.3 Simplified the checks of job [silentdragon]
//= 1.3a Fixed a Typo Error. [samuray22]
// -Thanks to ~AnnieRuru~.
//= 1.4 Optimized Script. No need for 50 million Labels. [spre]
//= Added renting of Dragons . [The Quality Maker]
//= 1.5 Added option for Gryphons and fixed problem with Peco and Rune Knight. [Ryo-Kun]
//= 1.6 Added provisory renting of Magic Gear. [Viktus]
//= 1.7 Fixed for 3CeAM Emulator.[Kimimaro]
//============================================================

prontera,143,179,5 script Universal Rental Npc 459,{
mes "[universal Rental Npc]";
mes "Hi, here you can rent Carts, Falcons, Pecopecos.";
next;
switch(select("Cart:Falcon:Peco")) {
case 1:
	if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART")>0) {
		setcart;
		close;
	}else{
		mes "[universal Rental Npc]";
		mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
		close;
	}
case 2:
	if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON")>0) {
		setfalcon;
		close;
	}else{
		mes "[universal Rental Npc]";
		mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
		close;
	}	
case 3:
	if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0 && Class != 4054 && Class != 4060 && Class != 4066 && Class != 4073) {
		setriding;
		close;
	}else{
		mes "[universal Rental Npc]";
		mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
		close;
	}

}
}

this is my rental npc.. and no other script deals with rental of carts peco and falcon.. BTW im using eathena. :)

Edited by Brian
use [codebox] for scripts/code longer than 10 lines
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
Answer this question...

×   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...