Jump to content

Patskie

Members
  • Posts

    1702
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Patskie

  1. I suggest you use this http://rathena.org/board/topic/60255-fluxcp-renewal-finally-native-rathena-support/ to adjust your Flux to the rAthena database scheme. By merely checking your flux cp you don't have the birth date field which is included in the native rathena flux
  2. If you mean this globally -> trunk/conf/battle/drops.conf If you mean this by increasing the drop rate of gold solely for dokebi -> trunk/db/mob_item_ratio.txt
  3. Are you using rAthena?
  4. Change your configuration to this ( trunk/conf/battle/drops.conf ) : // The rate the common items are dropped (Items that are in the ETC tab, besides card) item_rate_common: 1000000 item_rate_common_boss: 1000000 item_drop_common_min: 1 item_drop_common_max: 10000 // The rate healing items are dropped (items that restore HP or SP) item_rate_heal: 1000000 item_rate_heal_boss: 1000000 item_drop_heal_min: 1 item_drop_heal_max: 10000 // The rate at which usable items (in the item tab) other then healing items are dropped. item_rate_use: 1000000 item_rate_use_boss: 1000000 item_drop_use_min: 1 item_drop_use_max: 10000 // The rate at which equipment is dropped. item_rate_equip: 1000000 item_rate_equip_boss: 1000000 item_drop_equip_min: 1 item_drop_equip_max: 10000 // The rate at which cards are dropped item_rate_card: 1000000 item_rate_card_boss: 1000000 item_drop_card_min: 1 item_drop_card_max: 10000 Formula : 1,000,000 / 10,000 = 100%
  5. Try this one : prontera,150,150,0 script Skills 116,{ mes "What skill would you like?"; next; switch(select("Item Appraisal:Teleport:None")) { case 1: skill 40,1,0; // Permanently gives player level 1 Item Appraisal mes "Done!"; break; case 2: skill 26,2,0; // Permanently gives player level 2 Teleport mes "Done!"; break; case 3: mes "Bye!"; break; default: break; } end; } EDIT : i tried my script and fall on the same fate as yours.
  6. Make sure you seperate this by <TAB> prontera,150,150,0<TAB>script<TAB>Test<TAB>123,{
  7. Got this from here : http://rathena.org/board/topic/83357-gold-room-script/ prontera,150,150,0 script Test 123,{ mes "Do you want to enter my gold room?"; menu "Ok",-,"No thanks.",L_No; warp "ordeal_3-2.gat",0,0; close; L_No: close; } // Monsters ordeal_3-2,0,0,0,0 monster Dokebi 1110,40,0,0,0 ordeal_3-2,0,0,0,0 monster Dokebi 1110,40,0,0,0 ordeal_3-2,0,0,0,0 monster Dokebi 1110,40,0,0,0 ordeal_3-2,0,0,0,0 monster Dokebi 1110,40,0,0,0 ordeal_3-2,0,0,0,0 monster Dokebi 1110,40,0,0,0 ordeal_3-2,0,0,0,0 monster Gold Guardian 1439,30,0,0,0 ordeal_3-2,154,154,0,0 monster Gold Guardian 1439,3,0,0,0 // Warps ordeal_3-2.gat,130,193,0 warp testwrp#1 3,3,ordeal_3-2.gat,154,154 ordeal_3-2.gat,106,154,0 warp testwrp#2 3,3,ordeal_3-2.gat,154,154 ordeal_3-2.gat,201,129,0 warp testwrp#3 3,3,ordeal_3-2.gat,154,154 ordeal_3-2.gat,177,193,0 warp testwrp#4 3,3,ordeal_3-2.gat,154,154
  8. trunk/conf/battle/drops.conf. Change your configuration this : // The rate at which equipment is dropped. item_rate_equip: 200000 item_rate_equip_boss: 100000 item_drop_equip_min: 1 item_drop_equip_max: 10000 // The rate at which cards are dropped item_rate_card: 100000 item_rate_card_boss: 50000 item_drop_card_min: 1 item_drop_card_max: 10000
  9. trunk/src/map/skill.c : Find : //Special message when trying to use strip on FCP [Jobbie] if( sd && skill_id == ST_FULLSTRIP && tsc && tsc->data[SC_CP_WEAPON] && tsc->data[SC_CP_HELM] && tsc->data[SC_CP_ARMOR] && tsc->data[SC_CP_SHIELD]) { clif_gospel_info(sd, 0x28); break; } Add below : if ( sd && tsc && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ROGUE && rand()%100 < 15 && ( skill_id == RG_STRIPWEAPON && tsc->data[SC_CP_WEAPON] || skill_id == RG_STRIPSHIELD && tsc->data[SC_CP_SHIELD] || skill_id == RG_STRIPARMOR && tsc->data[SC_CP_ARMOR] || skill_id == RG_STRIPHELM && tsc->data[SC_CP_HELM] ) ) { int item_id = 7139; // Glistening Coat int ii; ARR_FIND( 0, MAX_INVENTORY, ii, sd->status.inventory[ii].nameid == item_id ); if ( ii < MAX_INVENTORY ) { pc_delitem( sd, ii, 1, 0, 0, LOG_TYPE_CONSUME); switch ( skill_id ) { case RG_STRIPWEAPON: status_change_end( bl, SC_CP_WEAPON, INVALID_TIMER ); sc_start( NULL, bl, SC_STRIPWEAPON, 100, skill_lv, d ); break; case RG_STRIPSHIELD: status_change_end( bl, SC_CP_SHIELD, INVALID_TIMER ); sc_start( NULL, bl, SC_STRIPSHIELD, 100, skill_lv, d ); break; case RG_STRIPARMOR: status_change_end( bl, SC_CP_ARMOR, INVALID_TIMER ); sc_start( NULL, bl, SC_STRIPARMOR, 100, skill_lv, d ); break; case RG_STRIPHELM: status_change_end( bl, SC_CP_HELM, INVALID_TIMER ); sc_start( NULL, bl, SC_STRIPHELM, 100, skill_lv, d ); break; } clif_skill_nodamage( src, bl, skill_id, skill_lv, i ); break; } } Make sure you recompile your server after you've made the changes.
  10. I think he want it character based not account based @changesex Changes the gender attached to the player's account.
  11. Typical quest can be done using getitem, delitem and countitem. prontera,150,150,0 script Quest1 100,{ // when done set #done, 1; // Remove # if you want it to be character based end; } prontera,100,100,0 script Quest2 100,{ if ( #done ) { // You complete Quest1 do anything... } else { // You don't complete Quest1 yet. Either terminate or do anything } }
  12. The item will not drop on the place where the mob has been killed
  13. Try this one, Akatsuki GM Sprite akatsuki ready made by blood impact.rar
  14. I don't get this at a single glance, can you elaborate more on this?
  15. Try removing can_trade: true under permission -> trunk/conf/groups.conf
  16. Try : prontera,150,150,0 script Sample 100,{ select ( ( countitem( 607 ) ) ? getitemname( 607 )+ " is there" : "" ); end; }
  17. http://rathena.org/wiki/Adding_a_Script
  18. It's @Capuche not @Skorm
  19. Find : set $@ResetCounter,$@ResetCounter+1; set $@EventON,1; set $@Timer,1; set $@Wait,1; Then after, Add : hideoffnpc strnpcinfo(1); Find : npctalk "Thank you all for playing. That was the last round of the Disguise Event. Come play again later."; Then after, Add : hideonnpc strnpcinfo(1);
  20. UPDATE `tablename` SET `field` = ( `value2` - `value1` ) WHERE `id` = `someid`; // WHERE clause is a condition, can be any depending on your likeness
  21. prontera,150,150,0 script Resetter 100,{ mes "Want to remove your skillpoints?"; next; if ( select("Yes:No") -1 ) end; set SkillPoint, 0; mes "Done!"; close; }
  22. You can try this one. By default it uses Zeny before you can exchange. prontera,150,150,0 script Exchanger 100,{ mes .npc$; mes "Hello " +strcharinfo(0)+ ", I am the exchanger on this server. Do you have something to exchange?"; next; if(select("Yes:No") - 1) close; mes .npc$; mes "You are charge to spend " +.req_zeny+ " zeny for using my service. Still want to use my service?"; next; if (select("Yes:No") - 1) close; if (Zeny < .req_zeny) { mes .npc$; mes "You do not have enough zeny for you to use my service"; close; } mes .npc$; mes "Good then, What item you want to exchange?"; next; getinventorylist; for (.@i = 0; .@i < @inventorylist_count; .@i++) { if (compare(.itemidcompare$, ":"+ @inventorylist_id[.@i] +":" ) ) { .@menu$ = .@menu$ + getitemname( @inventorylist_id[.@i] ) +":"; .@select[ .@c ] = @inventorylist_id[.@i]; .@c++; } } if (.@c == 0) { mes .npc$; mes "You have no items to exchange"; close; } .@pickid = .@select[select(.@menu$) - 1]; mes .npc$; mes "You want to exchange " +getitemname(.@pickid)+ " right?"; next; if (select("Yes:No") - 1) close; mes .npc$; mes "Where do you want to exchange your " +getitemname(.@pickid)+ "?"; next; .@menu$ = getitemname(.itemid); for (.@i = 1; .@i < .itemidsize; .@i++) .@menu$ = .@menu$ + ":" + getitemname(.itemid[.@i]); .@tradeid = .itemid[select( .@menu$ ) -1]; mes .npc$; mes "Are you sure you want to spend " +.req_zeny+ " zeny for trading " +getitemname(.@pickid) + " into " + getitemname(.@tradeid)+ "?"; next; if (select("Yes:No") - 1) close; if (countitem(.@pickid) == 0 || Zeny < .req_zeny) { mes .npc$; mes "You do not meet the requirements"; close; } delitem .@pickid, 1; getitem .@tradeid, 1; set Zeny,Zeny - .req_zeny; mes .npc$; mes "==================================="; mes "Official Receipt"; mes "==================================="; mes "From : " +getitemname(.@pickid); mes "To : " +getitemname(.@tradeid); mes "==================================="; next; mes .npc$; mes "Thank you for using our trading system " +strcharinfo(0)+ ". Have a nice day"; close; OnInit: set .npc$,"^FF0000" +strnpcinfo(1)+ "^000000"; // NPC Name .req_zeny = 10000; // Zeny to use the service. setarray .itemid, 8005, 8006, 8015, 8016, 607, 608; // Put all id here set .itemidsize, getarraysize( .itemid ); set .itemidcompare$, ":"+ .itemid[0]; for ( .@i = 1; .@i < .itemidsize; .@i++ ) .itemidcompare$ = .itemidcompare$ +":"+ .itemid[.@i] +":"; end; }
  23. This should help http://rathena.org/board/topic/83136-adding-custom-items-renewal/
  24. Like this? prontera,150,150,0 script Sample 100,{ if ( select ( ( countitem( 607 ) ) ? countitem(607)+ "x " +getitemname(607)+ ":Close" : "Close" ) - 1 ) { mes "Test"; close; } }
  25. Seperated by a semicolon you can have multiple item bonuses 2221,Hat_,Hat,5,1000,,200,,2,,1,0xFFFFFFFF,63,2,256,,0,1,16,{ bonus bStr, 3; bonus bDex, 3; },{},{} Table structure : // ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Class,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }
×
×
  • Create New...