Jump to content

rans

Members
  • Content Count

    358
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by rans

  1. Hi, Try downloading first the Main.sql into your computer and click the "import" on phpmyadmin Or you can use a command in ssh (putty.exe will work here) try this command mysql -u root -p "database" < /path/to/main.sql Example like this. mysql -u root -p ragnarok < /root/trunk/sql-files/mainl.sql after entering that. it will ask for password. and you are done
  2. Hi try using this command chmod -R 777 /var/www/html
  3. rans

    Music Login

    Hi, Yes it is the 01.mp3 in your BGM folder. Make sure that your BGM Volume is not Muted. Adjust it ingame or using the open setup
  4. you mean. this only works on a certain map?
  5. Hi, I did not get any error and yes i put it on plugins.conf
  6. Hi, I tried to replace it with the latest version but i got this. unknown command. (I did recompile all after changing the script)
  7. Is this still working? i tried this on latest git but it has an error ingame it will generate an item but it is not equip on costume tab . it is being equip on general
  8. rans

    Is this possible?

    yes. hoping someone can write a script for this xD
  9. Hi, I would like to ask if this script is possible and i would be very happy if you can make it for example i have +1 mink coat. and i want it to upgrade (+2 mink coat) in order for that the requirements will be change into some currency. ex Mithril coin aside from that there is a time waiting. ex 15minutes. and then even you log out. the timer still count and when you comeback it will upgrade your item. (During the time of upgrading, you can't use the item) and requirements, time increase as the level increases ex. +2mink coate (2mc, 15minutes) +3mink (3mc, 1hr) like that. thank you
  10. Yep. Yun mga bug kasi tlga dati eh akala nila yon tlga ang official :v
  11. Nakagamit na ako ng eamod, ramod pero same paren reklamo ng mga players saken na mas gusto nila yon "DATI" and ang tinutukoy nilang dati. is -3ceam r735 yon ang alam kong old mechanics pa pati sa asura at iba pang skills pati pala yon frost lock na sinasabi nila.
  12. Hi, I am trying to add this patch. Index: map/pc.c===================================================================--- map/pc.c (revision 17101)+++ map/pc.c (working copy)@@ -2612,6 +2612,8 @@ #endif default: ShowWarning("pc_bonus: unknown type %d %d !n",type,val);+ ShowWarning("Item ID: %d | Slot Data: %d %d %d %d !n",sd->status.inventory[current_equip_item_index].nameid,sd->status.inventory[current_equip_item_index].card[0],sd->status.inventory[current_equip_item_index].card[1],+ sd->status.inventory[current_equip_item_index].card[2],sd->status.inventory[current_equip_item_index].card[3]); //[clydelion] break; } return 0;@@ -3181,6 +3183,8 @@ break; default: ShowWarning("pc_bonus2: unknown type %d %d %d!n",type,type2,val);+ ShowWarning("Item ID: %d | Slot Data: %d %d %d %d !n",sd->status.inventory[current_equip_item_index].nameid,sd->status.inventory[current_equip_item_index].card[0],sd->status.inventory[current_equip_item_index].card[1],+ sd->status.inventory[current_equip_item_index].card[2],sd->status.inventory[current_equip_item_index].card[3]); //[clydelion] break; } return 0;@@ -3308,6 +3312,8 @@ default: ShowWarning("pc_bonus3: unknown type %d %d %d %d!n",type,type2,type3,val);+ ShowWarning("Item ID: %d | Slot Data: %d %d %d %d !n",sd->status.inventory[current_equip_item_index].nameid,sd->status.inventory[current_equip_item_index].card[0],sd->status.inventory[current_equip_item_index].card[1],+ sd->status.inventory[current_equip_item_index].card[2],sd->status.inventory[current_equip_item_index].card[3]); //[clydelion] break; } @@ -3350,6 +3356,8 @@ default: ShowWarning("pc_bonus4: unknown type %d %d %d %d %d!n",type,type2,type3,type4,val);+ ShowWarning("Item ID: %d | Slot Data: %d %d %d %d !n",sd->status.inventory[current_equip_item_index].nameid,sd->status.inventory[current_equip_item_index].card[0],sd->status.inventory[current_equip_item_index].card[1],+ sd->status.inventory[current_equip_item_index].card[2],sd->status.inventory[current_equip_item_index].card[3]); //[clydelion] break; } @@ -3378,6 +3386,8 @@ default: ShowWarning("pc_bonus5: unknown type %d %d %d %d %d %d!n",type,type2,type3,type4,type5,val);+ ShowWarning("Item ID: %d | Slot Data: %d %d %d %d !n",sd->status.inventory[current_equip_item_index].nameid,sd->status.inventory[current_equip_item_index].card[0],sd->status.inventory[current_equip_item_index].card[1],+ sd->status.inventory[current_equip_item_index].card[2],sd->status.inventory[current_equip_item_index].card[3]); //[clydelion] break; } but i got an error pc.c:2738: error: 'current_equip_item_index' undeclared (first use in this function) perhaps there is an alternative command for current_equip_item_index ? thank you
  13. Hi, I've tried to use the script but i am getting an infinite loop error in my mapserver after executing the command [Warning]: Unexpected type for argument 1. Expected number.[Debug]: Data: label pos=849[Debug]: Function: __jump_zero[Debug]: Source (NPC): test1235678 (invisible/not on a map)[Debug]: mapindex_name2id: Map "" not found in index list![Warning]: checkcell: Attempted to run on unexsitent map '', type 6, x/y 159,157
  14. rans

    Client crashes

    Immediately after opening the exe file? check your folder if you have an data.grf
  15. I use jaypee's v4p You can try this
  16. Version 1.1

    303 downloads

    This is a Simple Code Improved by me and Originally the method was from Brian. Features: Random bot check will trigger when killing a mob. 25% Chance to trigger when killing a Mob. If already passed the bot check. you will not be check again in the future. (Until you Recon) You have 3 Chance to prove that you are not Bot. If you fail. 10days of jail time. If you reconnect during the checkpoint. you will return in checkpoint after reconnecting. I have tested this in my server and works fine to me. If you found bug. Please report it PS: Sorry for my Grammar and Messy look Script
  17. Hi Can i ask help with making a plugins? and i am new to hercules. i have a src code for @flooritem (working in rAthena. not tested in hercules) if you could help me to make this plugin. that would be very helpful atcommand.c ACMD_FUNC(flooritem){ char item_name[100]; int number = 0, count; struct item_data *item_data; nullpo_retr(-1, sd); memset(item_name, '0', sizeof(item_name)); if( !message || !*message || ( sscanf(message, ""%99[^"]" %d", item_name, &number) < 1 && sscanf(message, "%99s %d", item_name, &number) < 1 )) { clif_displaymessage(fd, "Usage: @flooritem <itemname/itemid> [quantity]"); return -1; } if( number <= 0 ) number = 1; if ((item_data = itemdb_searchname(item_name)) == NULL && (item_data = itemdb_exists(atoi(item_name))) == NULL) { clif_displaymessage(fd, msg_txt(sd,19)); // Invalid item ID or name. return -1; } count = map_addflooritem_area(&sd->bl, 0, 0, 0, item_data->nameid, number); if( count != 0 ) if( number == count ) clif_displaymessage(fd, "All items created."); else { sprintf(atcmd_output, "%d item(s) created.", count); clif_displaymessage(fd, atcmd_output); } else { clif_displaymessage(fd, "No items created!!."); return -1; } return 0;}------------------------------------ ACMD_DEF(flooritem),-------------------------------------map.cLine 1501: int map_addflooritem_area(struct block_list* bl, int16 m, int16 x, int16 y, int nameid, int amount){ struct item item_tmp; int count, range, i; short mx, my; memset(&item_tmp, 0, sizeof(item_tmp)); item_tmp.nameid = nameid; item_tmp.identify = 1; if( bl != NULL ) m = bl->m; count = 0; range = (int)sqrt(amount) +2; for( i = 0; i < amount; i++ ) { if( bl != NULL ) map_search_freecell(bl, 0, &mx, &my, range, range, 0); else { mx = x; my = y; map_search_freecell(NULL, m, &mx, &my, range, range, 1); } count += (map_addflooritem(&item_tmp, 1, m, mx, my, 0, 0, 0, 0, 4) != 0) ? 1 : 0; } return count;} --------------------------------------------map.hLine 854: int map_addflooritem_area(struct block_list* bl, int16 m, int16 x, int16 y, int nameid, int amount); --------------------------------------------- mob.cLine 2872: if( md->option.item_drop > 0 && itemdb_exists(md->option.item_drop) && md->option.item_amount > 0 ) { map_addflooritem_area(&md->bl, 0, 0, 0, md->option.item_drop, md->option.item_amount); clif_misceffect(&md->bl,10); md->option.item_drop = 0; md->option.item_amount = 0; } ----------------------------------------------script.cLine 17850: BUILDIN_FUNC(flooritem){ struct map_session_data *sd = script_rid2sd(st); struct item_data *item_data; int nameid, amount; if( sd == NULL ) return 0; nameid = script_getnum(st,2); if( (item_data = itemdb_search(nameid)) == NULL ) return 0; amount = script_getnum(st,3); if( amount <= 0 ) return 0; map_addflooritem_area(&sd->bl, 0, 0, 0, nameid, amount); return 0;} BUILDIN_FUNC(flooritem2xy){ struct item_data *item_data; int nameid, amount, m, x, y; const char *mapname; mapname = script_getstr(st,2); if( (m = map_mapname2mapid(mapname)) < 0 ) return 0; x = script_getnum(st,3); y = script_getnum(st,4); nameid = script_getnum(st,5); if( (item_data = itemdb_search(nameid)) == NULL ) return 0; amount = script_getnum(st,6); if( amount < 1 ) return 0; map_addflooritem_area(NULL, m, x, y, nameid, amount); return 0;} ------------------------------- Thank you very much /no1
  18. i hope this will include "read lua before lub"
  19. But it remains still a suggestion i hope it will be implemented soon
  20. Can i suggest to increase the max item id into 64k+ like rAthena they have increase the max item id. Soon kro will consume all of our item id /omg
  21. Hi, Thank you for your reply.
  22. Hi! Is there any way to disable the case sensitivity for every script? example i have "bunbreakableshield" then it will produce an error and need to rewrite the script into "bUnbreakableShield" I have a lot of custom items from other emulator and it will take me decades to manually rewrite them /omg Thank you/
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.