-
Posts
30 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Xano
-
-
So this itemscript is wrong? q.q
-
Hello there,
I have got a new problem here.
This is my new written Berzebub Card (Card ID: 4145) effect:
bonus bCastrate,-50; bonus bMatkRate,5; if(BaseClass==Job_Mage||BaseClass==Job_Ninja) { bonus bMatkRate,3; }
It works perfect.
But now I want to add the feature, that it isn't wearable more then once.
To make this is just looked at my Kiel-D-01 Card /Card ID: 4403)effect, which has the 'non-stackable' script.
It looks like this:
bonus bDelayRate,( -30 / isequippedcnt (4403) );
Even this card works fine.
Now I tried to add the 'isequippedcnt' function into the Berzebub Card script.
It looks like this example:
bonus bCastrate,( -50 / isequippedcnt (4145) ); bonus bMatkRate,( 5 / isequippedcnt (4145) ); if(BaseClass==Job_Mage||BaseClass==Job_Ninja) { bonus bMatkRate,( 3 / isequippedcnt (4145) ); }
Well I think this script should work but it didn't. I have worn 2 normal Rings [1] with Berzebub Card and I got 2 bonusses instead of 1.
So it's still not working and I couldn't find the error.
Please help me to solve this,
thanks in advance ~ :3
-
I think it's a server just for experiments.
-
hehe you're welcome
-
The passwords you have set in rAthena/cong/map_athena.conf are may wrong.
Open map_athena.conf and search this:
// Interserver communication passwords, set in account.txt (or equiv.) userid: s1 passwd: p1
The password and the userID are not the same like the passwords of your Database (MySQL) OR you have deleted the main Login Connection of your Databse.
The Server needs an connection 'Account' for the DB.
You need a entry in the 'Login' Table like this:
I suppose that you did (TRUNCATE) and then the whole Table was cleaned. So you have to create a new one.
Just kick 'Insert' and then fill in the gaps by this order:
The red squares are the important part
I hope that you will be successful.
-
Yes I am sure that it is loaded, I also added it into the pet_db but there was no difference, I'll try the import path. Ty for the answer.
Thank you sir, it was the import folder.
-
Of course I did, just look over here:
Here my pet_db2.txt:
// CUSTOM PETS 1992,CORNUS,Cornus,619,30054,10013,531,80,60,50,100,250,20,2000,150,1,0,350,400,800,{ },{ } 1885,GOPINICH,Gopinich,619,30055,10013,531,80,60,50,100,250,20,2000,150,1,0,350,400,800,{ },{ } 1989,HILLSRION,Hillslion,619,30056,10013,531,80,60,50,100,250,20,2000,150,1,0,350,400,800,{ },{ } 3519,Moonlight_Flower_Baby,Moonlight Flower Baby,619,30057,10013,531,80,60,50,100,250,20,2000,150,1,0,350,400,800,{ },{ } 3516,Baby_Fox,Baby Fox,619,30058,10013,531,80,60,50,100,250,20,2000,150,1,0,350,400,800,{ },{ } 3517,Bunny,Bunny,537,30059,619,30059,10013,531,80,60,50,100,250,20,2000,150,1,0,350,400,800,{ },{ } 1957,ENTWEIHEN,Entweihen Crothen,619,30060,10013,531,80,60,50,100,250,20,2000,150,1,0,350,400,800,{ },{ } 1991,TENDRILRION,Tendrillion,619,30061,10013,531,80,60,50,100,250,20,2000,150,1,0,350,400,800,{ },{ } 1930,PIAMETTE,Piamette,619,30062,10013,531,80,60,50,100,250,20,2000,150,1,0,350,400,800,{ },{ } 2073,TOUCAN,Toucan,619,30063,10013,531,80,60,50,100,250,20,2000,150,1,0,350,400,800,{ },{ }
That's all.
Oh and limit for the pet eggs you set ind pet.h not in pet.c ...
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef _PET_H_ #define _PET_H_ #define MAX_PET_DB 300 #define MAX_PETLOOT_SIZE 30
-
Hi,
I have a (un)known problem here.
My custom pet eggs doesn't work.
They are in my inventory and then I breed them with @hatch but the pets won't come out.
And before you say 'use @makeegg not @item' it won't work because I already tried it. When I do @makeegg it says Item not found..
After hatchting my Egg gets a red name and I get this error in the map-server...:
Error:
Eggs:
Please help me to solve this. Thank you in advance.
-
No, we don't receive any messages in the map-server. (I'm his friend)
And also look at this :
(src/common/mmo.h)
#define MAX_STORAGE 800 ///Max number of storage slots a player can have, (up to ~850 tested) #define MAX_GUILD_STORAGE 800 ///Max number of storage slots a guild
-
http://rathena.org/wiki/Import_folder
Maybe I've understand something wrong.
Okay I won't import the files into SQL anymore ... So how can I run the mob and skill db2 as a .txt ?
The item_db and mob_db2 should run on SQL because of some scripts.
-
Hi,
today I have problems with my database. >.<
I've just finished my mob_db2 and mob_skill_db2 enteries and then I tried to import them but it didn't work.
For my mob_db2 and skill_db2 I use this path: trunk/db/...
I want to import these both files into my SQL Database with copying them into the import folder (path: trunk/db/import...)
After this I started my server again and the copied files with the mobs wasn't added to the database.
My inter_athena.conf looks like this:
// Athena InterServer configuration. // Contains settings shared/used by more than 1 server. // Options for both versions // Log Inter Connections, etc.? log_inter: 1 // Inter Log Filename inter_log_filename: log/inter.log // Level range for sharing within a party party_share_level: 50 // SQL version options only // You can specify the codepage to use in your mySQL tables here. // (Note that this feature requires MySQL 4.1+) //default_codepage: // For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1 // Under windows, you want to use 127.0.0.1. If you see a message like // "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" // and you have localhost, switch it to 127.0.0.1 // Global SQL settings // overridden by local settings when the hostname is defined there // (currently only the login-server reads/obeys these settings) sql.db_hostname: CENSORED sql.db_port: CENSORED sql.db_username: CENSORED sql.db_password: CENSORED sql.db_database: CENSORED sql.codepage: // MySQL Character SQL CENSORED char_server_ip: CENSORED char_server_port: CENSORED char_server_id: CENSORED char_server_pw: CENSORED char_server_db: CENSORED // MySQL Map SQL Server map_server_ip: CENSORED map_server_port: CENSORED map_server_id: CENSORED map_server_pw: CENSORED map_server_db: CENSORED // MySQL Log SQL Database log_db_ip: CENSORED log_db_port: CENSORED log_db_id: CENSORED log_db_pw: CENSORED log_db_db: CENSORED log_codepage: log_login_db: CENSORED // MySQL Reconnect Settings // - mysql_reconnect_type: // 1: When MySQL disconnects during runtime, the server tries to reconnect // mysql_reconnect_count times and shuts down if unsuccessful. // 2: When mysql disconnects during runtime, it tries to reconnect indefinitely. mysql_reconnect_type: 2 mysql_reconnect_count: 1 // DO NOT CHANGE ANYTHING BEYOND THIS LINE UNLESS YOU KNOW YOUR DATABASE DAMN WELL // this is meant for people who KNOW their stuff, and for some reason want to change their // database layout. [CLOWNISIUS] // ALL MySQL Database Table names // Char Database Tables char_db: char hotkey_db: hotkey scdata_db: sc_data cart_db: cart_inventory inventory_db: inventory charlog_db: charlog storage_db: storage reg_db: global_reg_value skill_db: skill interlog_db: interlog memo_db: memo guild_db: guild guild_alliance_db: guild_alliance guild_castle_db: guild_castle guild_expulsion_db: guild_expulsion guild_member_db: guild_member guild_skill_db: guild_skill guild_position_db: guild_position guild_storage_db: guild_storage party_db: party pet_db: pet friend_db: friends mail_db: mail auction_db: auction quest_db: quest homunculus_db: homunculus skill_homunculus_db: skill_homunculus mercenary_db: mercenary mercenary_owner_db: mercenary_owner elemental_db: elemental ragsrvinfo_db: ragsrvinfo skillcooldown_db: skillcooldown bonus_script_db: bonus_script // Map Database Tables buyingstore_db: buyingstores buyingstore_items_db: buyingstore_items item_db_db: item_db //item_db_re_db: item_db_re item_db2_db: item_db2 //item_db2_db: item_db2_re item_cash_db_db: item_cash_db item_cash_db2_db: item_cash_db2 mob_db_db: mob_db //mob_db_re_db: mob_db_re mob_db2_db: mob_db2 //mob_db2_db: mob_db2_re //mob_skill_db_db: mob_skill_db //mob_skill_db_re_db: mob_skill_db_re mob_skill_db2_db: mob_skill_db2 //mob_skill_db2_db: mob_skill_db2_re mapreg_db: mapreg vending_db: vendings vending_items_db: vending_items // Use SQL item_db, mob_db and mob_skill_db for the map server? (yes/no) use_sql_db: yes import: conf/import/inter_conf.txt
I hope that you can help me...
Thanks in advance ~
-
Oh thank you Tokei!
It was the missing error.
I wonder why it didn't showed this line at the CItemInfoMgr. However, thank you again.
-
There are 2 problems in the ItemInfo (The Before file):
The first one is at line 188117:
[30182] = { unidentifiedDisplayName = "Accessory", unidentifiedResourceName = "Blue_Assassin_Mask", unidentifiedDescriptionName = { "Unidentified item, can be identified with [Magnifier].", }, identifiedDisplayName = "Blue Assassin Mask", identifiedResourceName = "Blue_Assassin_Mask", identifiedDescriptionName = { "^8B0000BurningRO Custom Item^000000",, <-- //Here "^008000Alle Statuswerte +5^000000", "Class :^777777 Headgear^000000", "Defense :^777777 1^000000", "Equipped on :^777777 Lower^000000", "Weight :^777777 10^000000", "Required Level :^777777 1^000000", "Applicable Job :^777777 Every Job Except Novice^000000", }, slotCount = 1, ClassNum = 2055 },
This is the second one is at line 194690:
[30484] = { unidentifiedDisplayName = "Accessory", unidentifiedResourceName = "Green_Large_Hibiscus", unidentifiedDescriptionName = { "Unidentified item, can be identified with [Magnifier].", }, identifiedDisplayName = "Green Large Hibiscus", identifiedResourceName = "Green_Large_Hibiscus", // There is missing this: identifiedDescriptionName = { "^8B0000BurningRO Custom Item^000000", "^008000Alle Statuswerte +5^000000", "Class :^777777 Headgear^000000", "Defense :^777777 1^000000", "Equipped on :^777777 Upper^000000", "Weight :^777777 10^000000", "Required Level :^777777 1^000000", "Applicable Job :^777777 Every Job Except Novice^000000", }, slotCount = 1, ClassNum = 2357 },
Ok, and after I have corrected these both lines I get this error:
How I can solve this?
-
Hello rA Boarders,
today I want to show you a problem that I have with my ItemInfo.lub.
Look at this picture:
I don't know what this means so I hope that you can help me.
Before this error appeared I just corrected two enteries which was wrong.
Download this file if you want to see how it was before this message came: Klick me hard
Download this file if you want to see how it was after fixing the misstakes: Klick me gentle
Thank you in advance.
-
Try @effect 3500 I don't know it anymore. <.<
-
I see that you use 2 Servertypes ..
One Arabic and the other one English, isn't it?
I would you recommend to try this one:
<?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <servicetype>uae</servicetype> <servertype>primary</servertype> <connection> <display>English</display> <desc>None</desc> <address>127.0.0.1</address> <port>6900</port> <version>30</version> //The Version you can determine trough the date of your client and your packet_db <langtype>1</langtype> //Langtype 1 because 1 stays for american or english. If you want to make it uae just type in 19 <aid> <admin>2000001</admin> <admin>2000002</admin> <admin>2000003</admin> <admin>2000004</admin> <admin>2000005</admin> <admin>2000007</admin> <admin>2000770</admin> <admin>2000767</admin> <admin>2000813</admin> </aid> </connection> <connection> <display>Arabic</display> <desc>None</desc> <address>127.0.0.1</address> <port>6900</port> <version>30</version> //The Version you can determine trough the date of your client and your packet_db <langtype>19</langtype> //Langtype 19 because 19 stays for uae <aid> <admin>2000001</admin> <admin>2000002</admin> <admin>2000003</admin> <admin>2000004</admin> <admin>2000005</admin> <admin>2000007</admin> <admin>2000770</admin> <admin>2000767</admin> <admin>2000813</admin> </aid> </connection> </clientinfo>
Please remove the // and the text behind the // .
I hope that it will work.
-
Nonono ..
You have to add it into the item_db2 or item_db but I recommed you to use the item_db2 becuase it's made for custom items.
The second thing is..
Your client uses .lua or .lub files. You just have to use the one which is compatible with your client.
I don't really know but I guess that the last "," in your files is may wrong. You should take a look to the red arrows:
Screenshot:
Im using a Renewal server and then my custom items are costume, i want them to be a costume type items...
please help...
What do you mean with custom type items? You can only chose between Upper,Lower,Mid,Weapons,Shields,Armors,Accessories and you have to type in the right number for the each itemtype into your Itemscript. You can read it in the rA Forum but when I look in your screenshot I see that the customs are on their right place - well done ! ^^
And one tip from me:
Try to use the following command ingame:
@sprite 3500 and @sprite 3501
If the customs appears you have the error in your item_db2
If the customs doesn't appear you have the error may in the sprite or in your .lub or .lua files
And would you please tell me do you get any errors when you took the item on?
so far~
-
Don't forget to add the spritenumber into your item in your item_db2.txt
Example:
2220,Hat,Hat,5,1000,,200,,2,,0,10477567,2,256,,0,1,16,{},{},{} "The sprite number of this item is ^16" "Now you know that the spritenumber comes before the Itemscript" For Example you have entered the number 900 in your ... ... accessoryid.lub: Then it looks like this: ACCESSORY_PINKBUNNY_HAIRBAND = 663, ACCESSORY_GREENBUNNY_HAIRBAND = 664, ACCESSORY_OLD_ELFEAR = 665, ACCESSORY_THA_MAERO_MASK = 666, ACCESSORY_THANATOS_MAI_MASK = 667, --668 free ACCESSORY_FISHPIN = 669, ACCESSORY_CUSTOM_WING = 900, //The Number we used here is 900 } item_db2.txt: 30000,Wing,Wing,5,1000,,200,,2,,0,10477567,2,256,,0,1,900,{},{},{} "Just add your own entered spritenumber ^900 into your item_db2"
If this doesn't work you have to look into your accessoryid.lub/lua and accname.lub/lua
-
Blast send me your clientinfo.xml please.
And here the langtype table.
Your choosen langtype is number 19 that means it is "SERVICETYPE_UAE" (uae <- what ist that for a language!?), numer 10 is "SERVICETYPE_GERMANY" (german) is this what you want?
Oh and don't forget to change the langtype in your clientinfo.xml
+-----+------------------------+-------------------+ | int | enum SERVICETYPE | "servicetype" tag | +-----+------------------------+-------------------+ | 0 | SERVICETYPE_KOREA | korea | | 1 | SERVICETYPE_AMERICA | america | | 2 | SERVICETYPE_JAPAN | japan | | 3 | SERVICETYPE_CHINA | china | | 4 | SERVICETYPE_TAIWAN | taiwan | | 5 | SERVICETYPE_THAI | thai | | 6 | SERVICETYPE_INDONESIA | indonesia | | 7 | SERVICETYPE_PHILIPPINE | philippine | | 8 | SERVICETYPE_MALAYSIA | malaysia | | 9 | SERVICETYPE_SINGAPORE | singapore | | 10 | SERVICETYPE_GERMANY | germany | | 11 | SERVICETYPE_INDIA | india | | 12 | SERVICETYPE_BRAZIL | brazil | | 13 | SERVICETYPE_AUSTRALIA | australia | | 14 | SERVICETYPE_RUSSIA | russia | | 15 | SERVICETYPE_VIETNAM | vietnam | | 17 | SERVICETYPE_CHILE | chile | | 18 | SERVICETYPE_FRANCE | france | | 19 | SERVICETYPE_UAE | uae | +-----+------------------------+-------------------+
-
Hi rA Community,
something strange happened to my script messages.
In the whole scripts of my server (also the defalut Ragnarok Scripts for example in Prontera) have got this error inside their messages.
Screenshot:
As good as you can see there is a pre fixed message -> [ |a2 ].
I don't really know how it's caused so help me please.
Other informations:
Client Date: 2013-08-07 from rAthena.
I use the langtype 10 [german]
clientinfo.xml:
<?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <servicetype>korea</servicetype> <servertype>sakray</servertype> <connection> <display>Burning Ragnarok Online</display> <desc>BURNING!!!</desc> <address>85.214.59.204</address> <port>6900</port> <version>45</version> <langtype>10</langtype> <balloon>BurningRO!</balloon> <registrationweb>http://www.burningro.net</registrationweb> </yellow> <admin>20000001</admin> <admin>20000002</admin> <admin>20000003</admin> <admin>20000004</admin> <admin>20000005</admin> <admin>20000006</admin> </yellow> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> <image>loading02.jpg</image> <image>loading03.jpg</image> <image>loading04.jpg</image> <image>loading05.jpg</image> <image>loading06.jpg</image> <image>loading07.jpg</image> <image>loading08.jpg</image> <image>loading09.jpg</image> </loading> </connection> </clientinfo>
packet_db.txt:
//2013-08-07Ragexe (Shakto) packet_ver: 45 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 0x0887,36,storagepassword,2:4:20
I hope that you can help me.
Xano ~
-
Write into your DATA.ini (Which is in your RO Folder) the following:
[Data] 0=data.grf 1=color.grf 2=rdata.grf 3=texture.grf //This both .grfs aren't necessary ! 4=stlye.grf // <-|
Please overwrite my .grs with your .grfs .
-
I guess the lang type is right. 10 for german. Isn't it?!
Here mah packet_db.txt
//2013-08-07Ragexe (Shakto) packet_ver: 45 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 0x0887,36,storagepassword,2:4:20
-
I use a clientinfo.xml
Look:
<?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <servicetype>korea</servicetype> <servertype>sakray</servertype> <connection> <display>Burning Ragnarok Online</display> <desc>BURNING!!!</desc> <address>**.***.**.***</address> <port>6900</port> <version>45</version> <langtype>10</langtype> <balloon>BurningRO!</balloon> <registrationweb>http://www.burningro.net</registrationweb> </yellow> <admin>20000001</admin> <admin>20000002</admin> <admin>20000003</admin> <admin>20000004</admin> <admin>20000005</admin> <admin>20000006</admin> </yellow> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> <image>loading02.jpg</image> <image>loading03.jpg</image> <image>loading04.jpg</image> <image>loading05.jpg</image> <image>loading06.jpg</image> <image>loading07.jpg</image> <image>loading08.jpg</image> <image>loading09.jpg</image> </loading> </connection> </clientinfo>
Client Date: 2013-08-07 from rAthena.
<.<
-
Hi rA Community,
something strange happened to my scripts. In the whole scripts of my server (also the defalut Ragnarok Scripts for example in Prontera) have got this error inside the message, just look:
As good as you can see there is a pre fixed message "|a2". I don't really know how it's caused so help me please.
Isequippedcnt (4145)
in Database Support
Posted
Thanks man, black people are so clever!