Jump to content

AinsLord

Members
  • Posts

    791
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by AinsLord

  1. i got this error i even setup the IPs/user/PW/DB in inter_athena.conf how can i fix this thanks in advance
  2. just came back to create a new private server where can i download these files? i just got this in @anacondaq offline server files im looking for pre-re files thanks in advance
  3. how can i make it like a item costume sprite for 4th job class? do i need to use 2020 or 2021 client for it? or is there any way to implement it on 2018 client? TIA
  4. go here conf/battle/exp.conf find this use_statpoint_table: no check it if yes or no i forgot
  5. use this code prontera,141,179,5 script Rebirth System 531,{ function checkItem; // check if player have all item required function colorItemrequired; // color the text. Red : not enough item, green otherwise function deleteItem; // delete all items required function displayItemneed; // display all items need at start function getItemReward; // give the items reward //function weightreq; // check if your current weight is highter than weight high novice .@eac = eaclass(); if ( num_rebirth == .reset_max ) { mes "You can only rebirth x"+ .reset_max +"."; emotion e_gasp; close; } else if( BaseLevel < 255 || JobLevel < 120 || ( !( .@eac&EAJL_2 ) || !Upper ) && ( Class != Job_Ninja && Class != Job_Gunslinger && Class != Job_Soul_Linker && Class != Job_Star_Gladiator) ) { mes "You must be rebirth max level/max job level."; close; } mes "Items need :"; displayItemneed(); next; switch( select( "^777777~ Rebirth", "~ Informations", "~ Rebirth ranking", "~ Good bye^000000" ) ) { case 1: checkItem(); deleteItem(); break; case 2: mes "You can only rebirth ^ff0000x"+ .reset_max +"^000000. You already rebirth ^ff0000x"+ num_rebirth +"^000000."; mes "Each rebirth you get ^ff0000"+ .num_status +"^000000 status points and after ^ff0000"+ .change_reward +"^000000 rebirth, you get only some items."; close; case 4: mes "Bye."; close; case 3: mes "TOP 50 of rebirth."; mes "Name - Number of rebirth"; .@size = query_sql( "select `name`, `num_rebirth` from `rebirth_system` order by `num_rebirth` desc limit 50", .@name$, .@value ); if( .@size ) { for( .@i = 0; .@i < .@size; .@i++ ) mes "^777777"+ ( .@i +1 ) +"^000000 : "+ .@name$[.@i] +" : ^FF0000"+ .@value[.@i] +"^000000"; } else mes "^0000ff* the list is empty *^000000"; close; } num_rebirth += 1; if ( Upper ) { // just in case the user change the setting... lastJob = roclass( .@eac&EAJ_UPPERMASK ); jobchange Job_Novice_High; } else jobchange Job_Novice; resetlvl 1; if ( num_rebirth < .change_reward ) { if ( Class == Job_Novice ) StatusPoint = 48; StatusPoint = StatusPoint + .num_status * num_rebirth; } else { StatusPoint = StatusPoint + .num_status * .change_reward; getItemReward(); query_sql "insert into `rebirth_system` ( `account_id`, `name`, `num_rebirth`, `last_ip` ) select "+ getcharid(3) +", '"+ escape_sql( strcharinfo(0) ) +"', '"+ num_rebirth +"',`login`.`last_ip` from `login` where `login`.`account_id` = "+ getcharid(3) +" on duplicate key update `rebirth_system`.`num_rebirth` = `rebirth_system`.`num_rebirth` +1"; announce "[ Rebirth system ] : "+ strcharinfo(0) +" Successfully Rebirth!", 0; close; } function checkItem { for ( ; .@i < .size_item; .@i += 2 ) if ( countitem( .item_req[.@i] ) < .item_req[ .@i+1 ] + num_rebirth ) { mes "You don't have enought "+ getitemname( .item_req[.@i] ) +". ^ff0000["+ countitem( .item_req[.@i] ) +"/"+ ( .item_req[ .@i+1 ] + num_rebirth ) +"]^000000"; close; } if ( num_rebirth >= .change_reward ) if ( .add_item_req[1] + num_rebirth - .change_reward > countitem( .add_item_req[0] ) ) { mes "You don't have enought "+ getitemname( .add_item_req[0] ) +". ^ff0000["+ countitem( .add_item_req[0] ) +"/"+ ( .add_item_req[1] + num_rebirth - .change_reward ) +"]^000000"; close; } return; } function colorItemrequired { if ( countitem( .item_req[ getarg(0) ] ) < .item_req[ getarg(0)+1 ] + num_rebirth ) return "^ff0000"; return "^00ff00"; } function deleteItem { for ( ; .@i < .size_item; .@i += 2 ) delitem .item_req[.@i], ( .item_req[ .@i+1 ] + num_rebirth ); if ( num_rebirth >= .change_reward ) delitem .add_item_req[0], ( .add_item_req[1] + num_rebirth - .change_reward ); return; } function displayItemneed { for ( ; .@i < .size_item; .@i += 2 ) mes colorItemrequired( .@i ) +" - x"+ ( .item_req[ .@i+1 ] + num_rebirth ) +" "+ getitemname( .item_req[.@i] ); if ( num_rebirth >= .change_reward ) { if ( .add_item_req[1] + num_rebirth - .change_reward > countitem( .add_item_req[0] ) ) .@color$ = "^ff0000"; else .@color$ = "^00ff00"; mes .@color$ +"- x"+ ( .add_item_req[1] + ( num_rebirth - .change_reward ) ) +" "+ getitemname( .add_item_req[0] ); } return; } function getItemReward { for ( ; .@i < .size_reward; .@i += 2 ) getitem .reward[.@i], .reward[ .@i+1 ]; return; } function weightreq { if ( Weight > 20000 ) { mes "You have too much items on you. Your weight will be too high after rebirth."; close; } return; } OnInit: .reset_max = 200; // how much reset max .change_reward = 150; // after 30 rebirth, change reward .num_status = 10; // + X number of status points // item required <item ID>, <number> setarray .item_req, 7179, 50, 7227, 50, 969, 300; .size_item = getarraysize( .item_req ); // additionnal items after rebirth >> .change_reward // <item ID>, <number> setarray .add_item_req, 7179, 100; // rewards <item ID>, <number> setarray .reward, 674, 50; .size_reward = getarraysize( .reward ); end; } and look for this part else if( BaseLevel < 255 || JobLevel < 120 ||
  6. ill check thats my most recent since then but ill try to check if theres new mini/mvp
  7. im not getting errors its like from 30-99 is the same hairstyle dunno why i followed all the necessary files where to put still not showing
  8. is this the one? coz just female novice have that kind of issue dunno why edit i fixed it i used the sprite from the data.grf and merge it in my grf thanks for the help ? now my only proble is adding this custom hairstyle its not showing from 30 to 100 XD data.rar
  9. as you can see in the image when i turn the character like that the head is off to its position but when like this seems no problem i tried to check the grf seems no problem anyone can help me with this TIA
  10. how do you usually convert .txt to .yaml try this one item_db.yml
  11. so im trying to connect my database which is on a different host IP to my webhost/cpanel IP im getting like rathena@<IP address> access denied something is there like ways to make it connected? TIA additional question can i add fluxCP without Cpanel or webhosting? if yes how TIA agin
  12. yea somehow similar to this one and i cant find any sad the one that i found is like bound item ID then the req then the output box item inside the box is like listed in the item restrict txt file a bit hassle if one by one adding the item its like will require certain item/zeny before returning back as a box and for yea thats what i actually done the problem is the script i provided was single item changer only that means i can only change 1 bound item
  13. so i found this script here - script asdfasdf -1,{ mes "[ Trade ]"; mes "Need "+getitemname(.req_itm)+" x"+.req_amt; menu "Yes",-; if(countitem(.req_itm) < .req_amt || countitem(.bnd_itm) < 1){ mes "No pods"; mes "No card"; close; } mes "Got pods"; delitem .req_itm,.req_amt; getitem .get_itm,1; close; OnInit: .bnd_itm = 503; .req_itm = 501; .req_amt = 1000; .get_itm = 502; end; } is there some way to make this script like read the item that is account bounded or make this like i can add multiple items what i supposedly planning is like an item is account bounded then character will go to the NPC and the NPC will ask certain items to revert it to box and be traded since account bound items are not tradeable thanks in advance
  14. is there like accumulative type of daily login script example: days 7 login reward is battle manual so day1 to day6 i logged in perfectly then 7days i skipped it then i logged in day 8 i still get the day 7 reward thou i wont get the day 8 reward thanks i hope my example is quite understanding hahah TIA
  15. im just wondering if there is like an NPC/Script that can turn the character bound item to a like box to be traded ex: bounded sword the player just need to talk to NPC and the NPC will require certain amount of item to make it like sealed box of sword thanks in advance i just found this script here prontera,147,174,6 script Test 620,{ mes "[ Trade ]"; mes "Need "+getitemname(.req_itm)+" x"+.req_amt; menu "Yes",-; if(countitem(.req_itm) < .req_amt || countitem(.bnd_itm) < 1){ mes "No pods"; mes "No card"; close; } mes "Got pods"; delitem .req_itm,.req_amt; getitem .get_itm,1; close; OnInit: .bnd_itm = 1201; .req_itm = 501; .req_amt = 1; .get_itm = 502; end; } how can i add like multiple item to this script ty
  16. here the script im using prontera,143,173,5 script Level Reset 757,{ if (BaseLevel < 255||JobLevel < 120 ) { mes "You need to be at least level 255 and Job level 120."; } else if (select("Reset", "cancel") == 1) { resetlvl 1; RESET_COUNT++; StatusPoint += (RESET_COUNT * 10); // free 10 status point per reset. if (RESET_COUNT && RESET_COUNT % 10 == 0) { getitem 512, 10; // every 10 reset get apple. } } end; } is there a possible way to limit like 20 resets only per character ty in advance
  17. might want to share just incase someone encounter the same problem
  18. nothing wrong with the script its the client version is the one that is not supported im using the stable 20180621aRagexe try to check the diff of your client in Nemo i haven't tried 2020 version of clients
  19. punch.txt just change the location of the dummy
  20. mine is still good im using latest rathena DPS details
  21. still same i got to client diffs if its in my grf my other client diff should have it also
  22. so i dunno what happen its just my inventory show like this a transparent slot already try to reconnect still same close the game still same anyone encounter this thanks
  23. i found out why it hangs it happens because of my phpmyadmin database thanks i love your script
  24. im using this sir @sader1992 at 1st it was working fine then several days after when i tried to put options after selecting proceed this happens it hangs cant move cant even TP nor chat i need to reboot the whole VPS to bring it back i dunno what happen i didnt change any codes or add anything i just created another NPC of it for addition ID option i forgot that ID 1 has the same item on the other NPC that has ID 2 like this NPC 1 //Creating Group id 1 , with Hat items inside. AddGroup(1,2220,2221,2222,2223); NPC 2 //Creating Group id 1 , with Hat items inside. AddGroup(2,2223); will that affect this DO NOT REUSE THE SAME ITEM ID IN DIFFERENT GROUP!
×
×
  • Create New...