sader1992

Content Moderator
  • Content Count

    1,273
  • Avg. Content Per Day

    1
  • Joined

  • Last visited

  • Days Won

    48

sader1992 last won the day on August 12

sader1992 had the most liked content!

Community Reputation

439 Excellent

About sader1992

  • Rank
    Megumin
  • Birthday 11/16/1991

Profile Information

  • Gender
    Male
  • Location
    Syria
  • Server
    DEV On : ArenaRO , DigitalRO
  • Github
    sader1992
  • Interests
    rAthena , C# , C++ , PHP , MMO , Anime , Microsoft , Science , Cooking , Math

Contact Methods

Recent Profile Visitors

6,564 profile views
  1. try this prontera,0,0,0 script daily_warper 444,{ if(LASTENTERTIME > gettimetick(2)){ mes "you can enter once every 24hr"; mes "come back after " + gettimestr("%Y-%m/%d %H:%M:%S",21,LASTENTERTIME); end; } LASTENTERTIME = gettimetick(2) + (60*60*24); warp "payon",0,0; end; }
  2. technically this script wont work i would suggest to not use [email protected] with addrid command
  3. - script MvP_Kill -1,{ OnNPCKillEvent: [email protected] = compare(.MvPID$,""+killedrid); if( [email protected] ) { if( !.Chance || (.Chance && .Chance > rand(10000)) ) if(.limit > .limit_drop){ getitem .Reward, 1; .limit_drop++; } } end; OnClock0000: .limit_drop = 0; end; OnInit: .limit = 100; //100 drop per day .Chance = 1000; // 1000 = 10%, 0 = turn off chance drop mode, 100% drop .MvPID$ = "1511,1734,1492,1647,1785,1630,1399,1039,1874,"+ "1251,2068,1272,1719,1046,1389,1112,1115,1957,1418,1871,1252,1768,"+ "1086,1688,1646,1373,1147,1059,1150,1956,2022,1087,"+ "1190,1038,1157,1159,1502,1623,1650,1583,"+ "1708,1312,1751,1685,1648,1917,1658"; // MvP Ids .Reward = 7227; // Reward Item ID end; }
  4. i uploaded a new version , so it's in the approval process it will be available soon
  5. make sure the packet version is current make sure the ports are open make sure the ip of each program like this conf/import/char_conf.txt login_ip: 127.0.0.1 char_ip: public_ip conf/import/map_conf.txt char_ip: 127.0.0.1 map_ip: public_ip make sure to check your clientinfo xml file check your subnet config and
  6. unfortunately , i can't understand the script above try this , no need for the functions i linked above prontera,0,0,0 script qqqqqq 444,{ //to prevent spamming sql requests >>>> //this will reset on the user login, but no problem with that if([email protected]_for_first_50) @reward_for_first_50 = true; else{ mes "didn't you talk to me like a moment ago ?"; end; } //<<<<<<<<<<<<<<<<<<<<<<<<<<<< query_logsql("SELECT `ip`,`unique_id` FROM `reward_for_first_50` ", [email protected]$, [email protected]_id$); for([email protected]=0;[email protected]<getarraysize([email protected]$);[email protected]++){ if(getcharip() == [email protected]$[[email protected]]) [email protected] = true; } for([email protected]=0;[email protected]<getarraysize([email protected]_id$);[email protected]++){ if(get_unique_id() == [email protected]_id$[[email protected]]) [email protected] = true; } if([email protected]){ if($REWARDS1 < 50){ //the rewards here! //------------ getitem 502,1; //------------ query_logsql("INSERT INTO `reward_for_first_50` (`ip`,`unique_id`) VALUES ('" + getcharip() + "','" + get_unique_id() + "')"); $REWARDS1++; mes "you got the reward"; end; } mes "you missed the reward";//50 player already got the reward end; } mes "you already got the reward"; end; OnInit: query_logsql("CREATE TABLE IF NOT EXISTS `reward_for_first_50` (`ip` varchar(100) NOT NULL default '',`unique_id` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0') ENGINE=MyISAM"); end; } but i would suggest that you remove the npc when you are done with it.
  7. try to apply it manually , or you can send me your map.cpp along with the file you downloaded from rathena in the discord or rathena messages .
  8. if you want an easy and fast way , you can use this functions i made a while ago
  9. how old is your server ?
  10. try this prontera,156,186,4 script stest 857,{ setarray [email protected],EQI_ACC_L,EQI_ACC_R, EQI_SHOES,EQI_GARMENT, EQI_HEAD_LOW,EQI_HEAD_MID, EQI_HEAD_TOP,EQI_ARMOR,EQI_HAND_L ,EQI_HAND_R, EQI_COSTUME_HEAD_TOP,EQI_COSTUME_HEAD_MID, EQI_COSTUME_HEAD_LOW,EQI_COSTUME_GARMENT, EQI_SHADOW_ARMOR,EQI_SHADOW_WEAPON, EQI_SHADOW_SHIELD,EQI_SHADOW_SHOES, EQI_SHADOW_ACC_R,EQI_SHADOW_ACC_L; for([email protected] = 0;[email protected] < getarraysize([email protected]);[email protected]++){ if (getequipisequiped([email protected][[email protected]])) { set [email protected]$, [email protected]$ + F_getpositionname([email protected][[email protected]]) + "-[" + getequipname([email protected][[email protected]]) + "]"; set [email protected],1; } set [email protected]$, [email protected]$ + ":"; } if ([email protected] == 0) { mes "[Suhnbi]"; mes "I don't think I can refine any items you have..."; close; } set [email protected], [email protected][ select([email protected]$) ]; if (!getequipisequiped([email protected])) { message strcharinfo(0), "Make sure you're wearing the equipment first."; end; } // Enchant stones setarray [email protected]_slot1[0],4710,4711,4720,4721; //Inteligence1,Inteligence2,Dexterity1,Dexterity2 setarray [email protected]_slot2[0],4711,4720,4721,4740; //Inteligence2,Dexterity1,Dexterity2,Vitality1 setarray [email protected]_slot3[0],4764,4799,4766,4788; //Critical5,HP500,Atk2,Mdef6 // Random [email protected]_1 = [email protected]_slot1[rand(getarraysize([email protected]_slot1))]; [email protected]_2 = [email protected]_slot2[rand(getarraysize([email protected]_slot2))]; [email protected]_3 = [email protected]_slot3[rand(getarraysize([email protected]_slot3))]; // Get current refine to keep refine [email protected]_refine = getequiprefinerycnt([email protected]); // Get current card to keep card setarray [email protected]_card[0], getequipcardid([email protected],0),getequipcardid([email protected],1),getequipcardid([email protected],2),getequipcardid([email protected],3); // Delete item delitem [email protected]_to_test,1; // Cotton Shirt [1] // Can break armor? if (rand(100) < 50) { specialeffect2 EF_SUI_EXPLOSION; message strcharinfo(0),"Oh Shit!"; end; } else { // Effect specialeffect2 EF_REPAIRWEAPON; emotion ET_BEST; // Get a new item getitem2 [email protected]_to_test,1,1,[email protected]_refine,0,[email protected]_card[0],[email protected]_1,[email protected]_2,[email protected]_3; message strcharinfo(0),"Yay!"; } end; }
  11. if you have GePard this should work prontera,0,0,0 script qqqqqq 444,{ if(inarray($UNIQUEIDLIST_REWARDS1$,get_unique_id()) == -1 && inarray($IPLIST_REWARDS1$,getcharip()) == -1 ){ if($REWARDS1 < 50){ //the rewards here! //------------ getitem 502,1; //------------ $UNIQUEIDLIST_REWARDS1$[getarraysize($UNIQUEIDLIST_REWARDS1$)] = get_unique_id(); $IPLIST_REWARDS1$[getarraysize($IPLIST_REWARDS1$)] = getcharip(); $REWARDS1++; mes "you got the reward"; end; } mes "you missed the reward";//50 player already got the reward end; } mes "you already got the reward"; end; }
  12. try this https://github.com/rathena/rathena/pull/4383/files this sometimes happen when player forced to deattach from a npc for example , if the player die while talking to a npc , and the npc have more auto progress , you can ignore it if your scripts have to bugs
  13. use this https://gitlab.com/4144/Nemo/ as it still have support don't use other versions
  14. did you try nemo patch ? also you can force the player in a map using the client side file named viewpoint or something
  15. i don't see anything wrong with the script i wrote if there is something wrong , you need to add information on what wrong as you can see in the file , the pvp points are PVPPOINTSYSTEM variable you can make sure that everything work by simply checking the points for example prontera,0,0,0 script test 444,{ mes "" + PVPPOINTSYSTEM; end; }