Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/26/18 in all areas

  1. I suggest, that when the player(GM/admin) is in follow mode, using the follow atcommand, the player should be immune to NPC ontouch events, because the popup windows break the movement of the player, and cause other troubles.
    1 point
  2. you need to do thesame with members if ( CheckVending() ) end; getitem .@item_member[.@x],.@item_member[.@x+1],$@guildmemberaid[.@i];
    1 point
  3. while ( .@x < .@item_master_size ) { if ( CheckVending() ) end; getitem .@item_master[.@x],.@item_master[.@x+1],$@guildmemberaid[.@i]; .@x += 2; }
    1 point
  4. deletearray.player[0],2; will remove next .player[0] = 0; .player[1] = 1; .player[2] = 2; .player[3] = 3; .player[4] = 4; You will get .player[0] = 2; .player[1] = 3; .player[2] = 4;
    1 point
  5. hello here is a script I have not tested it but it should work ... if you have problems, please ask ... you have to change the id of the items that I have not modified prontera,150,150,4 script Coin Master 468,{ .npc$ = "[Coin Master]"; //<--- Change name .@SoulCoin_ID = 502; //<-- Insert id Soul Coin .@HollowCoin_ID = 502; //<--- Hollow coin ID .@SacredCoin_ID = 502; //<--- Put SacredCoin_ID mes .npc$; mes "Hello "+strcharinfo(0)+"."; mes "During your adventure you will find some Coin."; mes "I can exchange them in other coins."; mes "^990000500^000000 x ^333300Soul Coin^000000->^808080Hollow Coin^000000 x ^9900001^000000"; mes "^99000020^000000 x ^808080Hollow Coin^000000->^999900Sacred Coin^000000 x ^9900001^000000"; next; switch(select("^333300Soul Coin^000000->^808080Hollow Coin^000000:^808080Hollow Coin^000000->^999900Sacred Coin^000000")){ case 1://Soul Coin -> hollow coins mes .npc$; mes "How many you want to exchange?"; next; input .@count; if(.@count == 0) close; if(countitem(.@SoulCoin_ID) < .@count*500) goto L_NE; delitem SoulCoin_ID,.@count*500; getitem HollowCoin_ID,.@count; close; case 2: //hollow coins .>> Sacred coin mes .npc$; mes "How many you want to exchange?"; next; input .@count; if(.@count == 0) close; if(countitem(.@HollowCoin_ID) < .@count*20) goto L_NE; delitem .@HollowCoin_ID,.@count*20; getitem .@SacredCoin_ID,.@count; close; } L_NE: mes .npc$; mes "You don't have that coin enough."; close; } sorry I was wrong to understand .... -.- ' however I remain the script in case it can serve ..... sorry again but I thought you needed a normal coin trade -.- '
    1 point
  6. No, it's not. They already switched from c to cpp at least with extensions, and very small primitive constructions. *Athena code is a big mess of many very bad, very complex, very hard to understand, trace, and read the code. So the process of switching to use CPP features will take years (like I said more than 1 year ago). rAthena needs more powerful developers and contributors (just my vision) for finishing a lot of things much faster. They physically do their best with the code, but this is to be clear is not enough... A lot of problems as I see comes from supporting legacy things and current user-base. If they will drop user-base support (community / administrators) on the same day will be created a new emulator where users will not be dropped and rAthena will die in months. So, as you see, this is very hard and responsible work, and current devs to be clear, working really hard.
    1 point
×
×
  • Create New...