Jump to content

Radian

Members
  • Posts

    1546
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Radian

  1. Other way.. CREATE TABLE IF NOT EXISTS `cp_highest_peak` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `num_users` int(10) unsigned NOT NULL DEFAULT '0', `peak_date` date NOT NULL, PRIMARY KEY (`id`) ) ENGINE = MYISAM; and now the script is here //==================================================================================== //Script Name: Server Online Users Highest Peak //SVN: Tested in rAthena r156513 //Developed By: JayPee Mateo //Version: 1.0 //Requirement(s): FluxCP Server Highest Addon //Description: This npc script will record the highest number of players that your server reach //==================================================================================== - script Highest Peak -,{ OnPCLoginEvent: set .currentUsersOL,getusers(1); //Current Online Users //Query for the highest peak in the database query_sql("SELECT `num_users` FROM `cp_highest_peak` ORDER BY `num_users` LIMIT 1",.@numUsers); //Get the date set .date$,gettime(7)+"-"+gettime(6)+"-"+gettime(5); set .highestPeak,.@numUsers[0]; //Highest Peak if(getarraysize(.@numUsers) == 0) { //If not data found Insert statement set .highestPeak,.currentUsersOL; query_sql("INSERT INTO `cp_highest_peak`(num_users,peak_date) VALUES("+.highestPeak+",'"+.date$+"')"); //Insert new highest Peak } else { if(.currentUsersOL>.highestPeak) { announce ""+.currentUsersOL,bc_all; set .highestPeak,.currentUsersOL; query_sql("UPDATE `cp_highest_peak`SET num_users='"+.highestPeak+"',peak_date='"+.date$+"'"); //Insert new highest Peak } } end; }
  2. Those files should be inside of your data/wav/
  3. prontera,150,150,0 script PODS&&TCG 719,{ set @name$,"^FF0000Trader^000000"; mes @name$; mes "What do you want to do?"; next; switch(select("Information","Convert")) { case 1: mes @name$; mes "I can convert your TCG CARDS into POD and vice versa."; mes "10 TCG CARD = 1 PODS"; close; case 2: switch(select("TCG CARDS to POD","POD to TCG CARDS")) { case 1: mes @name$; mes "How many POD you want to have?"; input .@item_count ; if( .@item_count == 0 ) close; if (countitem(7227) < (.@item_count*10)) goto noTCG; if (checkweight(7179,100) == 0 ) goto overWeight; delitem 7227,(.@item_count*10); getitem 7179,.@item_count; next; mes @name$; mes "There you go! You got your " + .@item_count + " PODS. Hope to see you again!"; close; case 2: mes @name$; mes "How many TCG CARDS you want to have?"; input .@item_count; if( .@item_count == 0 ) close; if (checkweight(7227,35) == 0 ) goto overWeight; if (countitem(7179) < (.@item_count/10)) goto noPods; delitem 7179,(.@item_count/10); getitem 7227,.@item_count; next; mes @name$; mes "There you go! You got your " + .@item_count + " TCG. Hope to see you again!"; close; } } OnInit: waitingroom "PODS TRADER",0; // WITH WAITING ROOM end; noPODS: next; mes @name$; mes "I'm Sorry but you don't have enough PODS."; close; noTCG: next; mes @name$; mes "I'm Sorry you don't have enough TCG"; close; overWeight: next; mes @name$; mes "Sorry you're overweight."; close; } }
  4. Not tested. prontera,150,150,4 script Map Player Counter 88,{ end; OnInit: while(1) { delwaitingroom; waitingroom "Map Counter [ ^FF0000"+getmapusers("prontera")+"^000000 ]",0; sleep 1500; //1.5 seconds } end; }
  5. try to add this in your script. if (!getequipisenableref(@part)) { mes "Go find another Blacksmith. You can't refine this thing."; close; }
  6. Radian

    FluxCP Related

    Yes it was latest from Github. Im not sure if its a error or its missing something..
  7. Radian

    FluxCP Related

    As you can see the red circle it was a V4Points by Xantra (Paid) the question is what's the problem with it I follow the steps and look for answers.. or maybe i didn't saw the best answer for this? anyone can help me out?
  8. First thing you need to locate the files you need to replace with.. So in your problem i'm not 100% sure if this will solve it but let's give it a shot.. first go to your data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/ the files that I gave you paste it inside the basic_interface folder..
  9. Replace the tab images with this.. Storage Tab.rar
  10. Im sorry forgot to put that too.. by the way it was set as the same packet version of the client date i am using...
  11. [Warning]: s aid=2000000 has an incorect version=46 in clientinfo. Server compiled for 45 [Info]: sd->version = 46 as the warning shows it was incorrect version in my clientinfo. I am not sure if this is a problem about the client dates but i am using 2013 12 23 client. of course on my mmo.h it was set as 20131223 and on the packet_db.txt //2013-12-23Ragexe packet_ver: 46 0x0369,7,actionrequest,2:6 0x083C,10,useskilltoid,2:4:6 0x0437,5,walktoxy,2 0x035F,6,ticksend,2 0x0202,5,changedir,2:4 0x07E4,6,takeitem,2 0x0362,6,dropitem,2:4 0x07EC,8,movetokafra,2:4 0x0364,8,movefromkafra,2:4 0x0438,10,useskilltopos,2:4:6:8 0x0366,90,useskilltoposinfo,2:4:6:8:10 0x096A,6,getcharnamerequest,2 0x0368,6,solvecharname,2 0x0838,12,searchstoreinfolistitemclick,2:6:10 0x0835,2,searchstoreinfonextpage,0 0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15 0x0811,-1,reqtradebuyingstore,2:4:8:12 0x0360,6,reqclickbuyingstore,2 0x0817,2,reqclosebuyingstore,0 0x0815,-1,reqopenbuyingstore,2:4:8:9:89 0x0365,18,bookingregreq,2:4:6 //0x363,8 // CZ_JOIN_BATTLE_FIELD 0x0281,-1,itemlistwindowselected,2:4:8:12 0x022D,19,wanttoconnection,2:6:10:14:18 0x0802,26,partyinvite2,2 //0x436,4 // CZ_GANGSI_RANK 0x023B,26,friendslistadd,2 0x0361,5,hommenu,2:4 0x08A4,36,storagepassword,2:4:20 //New Packets //0x097E,12 //ZC_UPDATE_RANKING_POINT 0x09B4,6,dull,0 //Cash Shop - Special Tab 0x09CE,102,itemmonster,2 0x09D4,2,dull,0 //npcshopclosed //NPC Market 0x09D6,-1,dull,0 //npcmarketpurchase 0x09D8,2,dull,0 //npcmarketclosed 0x09DF,7 and my client version is set for version 46. any idea why? Update : I hope this helps. [Warning]: s aid=2000000 has an incorect version=46 in clientinfo. Server compiled for 45 [Info]: sd->version = 46 [Info]: Loading Char Data (2000000) [Info]: Loading Char Data (2000000) [Info]: Char load request (150000) [Info]: storage load complete from DB - id: 2000000 (total: 86) [Info]: Loaded char (150000 - Radian): status memo inventory cart storage skills friends hotkeys mercenary Solved. xD
  12. Radian

    Bug job

    It looks like you missed something. you need to change this #define MAX_LEVEL 255 into your desired maximum level example. #define MAX_LEVEL 1000 after changing recompile.
  13. If you are using a 2013 client i prefer using this https://github.com/ROClientSide/Translation
  14. As far as I know it depends on the msgstringtable.txt it should be compatible with the client date you are using..
  15. I think if you change this one : pc_status_def_rate: 100 into : pc_status_def_rate: 50 then if player/user got 200 vit he/she will be immuned to any status.
  16. This will help you find the answer. My bad xD i forgot to put the link.
  17. All we need to do is wait and find a way how to find the problem with the latest.
  18. Yea we got the same problem with the latest . maybe this can help you out https://rathena.org/board/blog/23/entry-72-issue-for-ur-holidays-o/
  19. Baka po eto ang hinahanap mo trunk/conf/battle/player.conf // The amount of HP a player will respawn with, 0 is default. // (Unit is in percentage of total HP, 100 is full heal of HP, 0 is respawn with 1HP total.) restart_hp_rate: 0 // The amount of SP a player will respawn with, 0 is default. // (Unit is in percentage of total SP, 100 is full heal of SP, 0 is respawn with 1SP total.) restart_sp_rate: 0 palitan mo lang yung 0 = to ilang percent ang ma rerestore ng HP or SP pag nag return to savepoint.
  20. instead of make sql gamitin mo is make server.
  21. Yung Osiris card is gumagana pag ginamitan ng resurrect skill. bakit mo naman nasabing hind gumagana?
  22. Its a replacement of make sql. just follow the message and use make server instead of make sql.
  23. The answer is here https://github.com/rathena/rathena/blob/master/db/skill_damage_db.txt
  24. Any information shows in your map-server that can explain why its not working?
×
×
  • Create New...