Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×

LearningRO

Members
  • Posts

    778
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by LearningRO

  1. yeah but you didnt see clearly i already set on battle.conf only add +200 so normal accoutn have 600 and vip 800 but the warning always said value "300" and for the max storage sader told me can reach up until 836 or for saved 800
  2. hi, I need this modification too. somebody already know how to do it?
  3. maybe you can combine it with script autopots search on forum
  4. did you buy it form haziel ? ask him. maybe he wil know
  5. yes possible just use variable account and dont wipe that variable on acc_reg_num table
  6. I guess you already have it on data.grf try to extract it with GRF editor
  7. Variables --------- The meat of every programming language is variables - places where you store data. In the rAthena scripting language, variable names are not case sensitive. Variables are divided into and uniquely identified by the combination of: prefix - determines the scope and extent (or lifetime) of the variable name - an identifier consisting of '_' and alphanumeric characters postfix - determines the type of the variable: integer or string Scope can be: global - global to all servers local - local to the server account - attached to the account of the character identified by RID character - attached to the character identified by RID npc - attached to the NPC scope - attached to the scope of the instance Extent can be: permanent - They still exist when the server resets. temporary - They cease to exist when the server resets. Prefix: scope and extent nothing - A permanent variable attached to the character, the default variable type. They are stored by char-server in the `char_reg_num` and `char_reg_str`. "@" - A temporary variable attached to the character. SVN versions before 2094 revision and RC5 version will also treat 'l' as a temporary variable prefix, so beware of having variable names starting with 'l' if you want full backward compatibility. "$" - A global permanent variable. They are stored by map-server in database table `mapreg`. "$@" - A global temporary variable. This is important for scripts which are called with no RID attached, that is, not triggered by a specific character object. "." - A NPC variable. They exist in the NPC and disappear when the server restarts or the NPC is reloaded. Can be accessed from inside the NPC or by calling 'getvariableofnpc'. Function objects can also have .variables which are accessible from inside the function, however 'getvariableofnpc' does NOT work on function objects. ".@" - A scope variable. They are unique to the instance and scope. Each instance has its own scope that ends when the script ends. Calling a function with callsub/callfunc starts a new scope, returning from the function ends it. When a scope ends, its variables are converted to values ('return .@var;' returns a value, not a reference). "'" - An instance variable. These are used with the instancing system and are unique to each instance type. Can be accessed from inside the instance or by calling 'getvariableofinstance'. "#" - A permanent local account variable. They are stored by char-server in the `acc_reg_num` table and `acc_reg_str`. "##" - A permanent global account variable stored by the login server. They are stored in the `global_acc_reg_num` table and `global_acc_reg_str`. The only difference you will note from normal # variables is when you have multiple char-servers connected to the same login server. The # variables are unique to each char-server, while the ## variables are shared by all these char-servers. Postfix: integer or string nothing - integer variable, can store positive and negative numbers, but only whole numbers (so don't expect to do any fractional math) '$' - string variable, can store text Examples: name - permanent character integer variable name$ - permanent character string variable @name - temporary character integer variable @name$ - temporary character string variable $name - permanent global integer variable $name$ - permanent global string variable $@name - temporary global integer variable $@name$ - temporary global string variable .name - NPC integer variable .name$ - NPC string variable .@name - scope integer variable .@name$ - scope string variable 'name - instance integer variable 'name$ - instance string variable #name - permanent local account integer variable #name$ - permanent local account string variable ##name - permanent global account integer variable ##name$ - permanent global account string variable
  8. hI, for the issue make a crash i think already solved it btw How to additional storage? LOL i never notice this feature thx a lot bro ? But if somebody whould like to help my issue im still accepted ?
  9. if he did it the nickname should have yellow name too although use that diff Try use this <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <desc>Ragnarok Online Client Information</desc> <servicetype>korea</servicetype> <servertype>primary</servertype> <connection> <display>Local</display> <address>127.0.0.1</address> <port>6900</port> <version>46</version> <langtype>0</langtype> <registrationweb>www.ragnarok.com</registrationweb> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> <image>loading02.jpg</image> <image>loading03.jpg</image> <image>loading04.jpg</image> </loading> <yellow> <admin>2000000</admin> <admin>2000001</admin> <admin>2000002</admin> </yellow> </connection> </clientinfo>
  10. Hi, I try to change Max Storage for VIP 800 and Normal account 600 and this is my setting core.hpp #ifdef VIP_ENABLE #define MIN_STORAGE 600 // Default number of storage slots. I increase this from 300 to 600 for make normal account have 600 slot and VIP 800 mmo.hpp #define MAX_STORAGE 800 ///Max number of storage slots a player can have Battle.cpp #ifdef VIP_ENABLE { "vip_storage_increase", &battle_config.vip_storage_increase, 100, 0, MAX_STORAGE-MIN_STORAGE, }, #else { "vip_storage_increase", &battle_config.vip_storage_increase, 300, 0, MAX_STORAGE, }, I change into 100 from 300 coz I'll get warning when use @reloadbattleconf warning like this ][Warning]: Value for setting 'vip_storage_increase': 300 is invalid (min:0 max:200)! Defaulting to 100... and last setting on import/battle.com // Storage slot increase. Setting to 0 will disable. // Give more storage slots above the MIN_STORAGE limit. // Note: MIN_STORAGE + vip_storage_increase cannot exceed MAX_STORAGE. // Default: 300 vip_storage_increase: 100 My Issue is about the warning when try to use @reloadbattleconf and the warning always said my value its 300 not 100(see my battle.conf) did i miss some step??
  11. I think its form JRO try to extract it data.grf from JRO
  12. maybe you can modif the command @autoloot to read item on inventory use bindatcomand
  13. mabuhay just miss 1 " try this - script VIP_Checker -1,{ OnCheck: if(!(.@nb = query_sql("SELECT `account_id` FROM `login` WHERE `group_id` = '5'", .@aid))) { dispbottom "No data found."; end; } dispbottom "VIP Account ID list :"; for ( .@i = 0; .@i < .@nb; .@i++ ) dispbottom (.@i+1) +". Account ID : "+ .@aid[.@i]; dispbottom "Total of "+.@nb +" Active VIP account(s)."; end; OnInit: bindatcmd "checkvip", strnpcinfo(0)+"::OnCheck", 60, 60; // @checkvip to list active vip accounts }
  14. Edit your item_db.txt find ghostring_card 4047,Ghostring_Card,Ghostring Card,6,20,,10,,,,,,,,16,,,,,{ if(getmapflag(strcharinfo(3),mf_pvp)) { bonus bDefEle,Ele_Ghost; bonus bHPrecovRate,-25; } },{},{}
  15. actually you can use setpcblock PCBLOCK_MOVE,True; when talk to npc and then add setpcblock PCBLOCK_MOVE,False; when finish but You must disable autofishing when fail to use this
  16. I try to use autofish and work i think the issue for this script if player on casting and then their move the look still will be display like their on fishing you must block to player when casting
  17. brasilis,253,60,0 script Fishing Hole 844,{ //Fishing rod set .@Rod,2764; //Fishing Lure set .@Lure,2775; //Auto-Fish set .@Auto,0; //Auto-Fish on Fail set .@AutoFail,0; Fish: if (isequipped(.@Rod)) && (isequipped(.@Lure)){ specialeffect EF_BUBBLE,"Fishing Hole"; dispbottom "[Fishing] Casting..."; set .@fcast,15; if (isequipped(2550)) { //Fisher's Muffler set .@fcast,.@fcast - 2; } if (isequipped(2443)) { //Fisher's Boots set .@fcast,.@fcast - 2; } if (isequipped(2764)) { //Fishing Pole set .@fcast,.@fcast - 3; } if (isequipped(2775)) { //Fishing Lure set .@fcast,.@fcast - 1; } setarray @var[0], getlook(LOOK_HEAD_TOP), getlook(LOOK_HEAD_MID), getlook(LOOK_HEAD_BOTTOM); changelook LOOK_HEAD_TOP,102; changelook LOOK_HEAD_MID,471; changelook LOOK_HEAD_BOTTOM,383; sc_start SC_SUMMER,7500,0; progressbar "ffffff",.@fcast; if (rand(1,80) == 2){ getitem 32552,1; //Fish with Blue Back specialeffect2 EF_TEMP_OK; announce "Wow! What a lucky bastard, "+strcharinfo(0)+" has caught a Blue Fish! Go to @fish to join now!",8; mapannounce strcharinfo(3),strcharinfo(0)+" has caught a Blue Fish!",bc_map,"0xff77ff"; changelook LOOK_HEAD_TOP,@var[0]; changelook LOOK_HEAD_MID,@var[1]; changelook LOOK_HEAD_BOTTOM,@var[2]; if(.@Auto==1){ goto Fish;}else{ end;} } if (rand(1,6) == 1) ||(rand(1,6) == 3) || (rand(1,6) == 6){ setarray .@Catch[0],579,908,909,963,956,6049,918,960,910,938,624;// List of Junk/Other set .@CatchRand,.@Catch[rand(getarraysize(.@Catch))]; getitem .@CatchRand,1; changelook LOOK_HEAD_TOP,@var[0]; changelook LOOK_HEAD_MID,@var[1]; changelook LOOK_HEAD_BOTTOM,@var[2]; } else { dispbottom "[Fishing] Nothing was caught..."; changelook LOOK_HEAD_TOP,@var[0]; changelook LOOK_HEAD_MID,@var[1]; changelook LOOK_HEAD_BOTTOM,@var[2]; if(.@AutoFail == 1){ goto Fish;} else{ end;} } if (rand(1,100) == 3){ setarray .@Rare[0],644,603,617; set .@RareCatch, .@Rare[rand(getarraysize(.@Rare))]; getitem .@RareCatch,1; //Reward changelook LOOK_HEAD_TOP,@var[0]; changelook LOOK_HEAD_MID,@var[1]; changelook LOOK_HEAD_BOTTOM,@var[2]; } if(.@Auto == 1){ goto Fish;} else{ end;} } else { dispbottom "[Fishing] You need a Rod and Lure."; end; } } brasilis,251,56,0 duplicate(Fishing Hole) Fishing Hole #1 844, Try this
  18. just like normal npc on script_costum.conf npc/custom/test.c
  19. I think its more powerfull if can do vice versa ? BTW Nice job man!
  20. {.@r= getrefine(); if (.@r >=9 ) { bonus bAddMaxWeight,5000; }
  21. no i just put it on my grf and get an issue like that
×
×
  • Create New...