Jump to content

Radian

Members
  • Posts

    1546
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Radian

  1. It is already in the battleground.h
  2. I am testing an old patch that i got in the source release section and I was hoping that someone can help me with this List of errors are 1>..\src\map\storage.c(189): error C2065: 'BG_CHARID' : undeclared identifier 1>..\src\map\storage.c(189): error C2065: 'BG_TRADE' : undeclared identifier 1>..\src\map\trade.c(400): error C2065: 'BG_CHARID' : undeclared identifier 1>..\src\map\trade.c(400): error C2065: 'BG_TRADE' : undeclared identifier 1>..\src\map\trade.c(401): error C2065: 'BG_TRADE' : undeclared identifier 1>..\src\map\vending.c(323): warning C4013: 'MakeDWord' undefined; assuming extern returning int 1>..\src\map\vending.c(323): error C2065: 'BG_CHARID' : undeclared identifier 1>..\src\map\vending.c(323): error C2065: 'BG_TRADE' : undeclared identifier and here is the patch line storage.c if( item_data->card[0]==CARD0_CREATE && MakeDWord(item_data->card[2],item_data->card[3])==BG_CHARID && BG_TRADE&64 ) trade.c if( item->card[0]==CARD0_CREATE && MakeDWord(item->card[2],item->card[3])==BG_CHARID && BG_TRADE&2 && (pc_get_partner(sd) != target_sd || BG_TRADE&4) ) vending.c || ( sd->status.cart[index].card[0]==CARD0_CREATE && MakeDWord(sd->status.cart[index].card[2],sd->status.cart[index].card[3])==BG_CHARID && BG_TRADE&2 ) // "Battleground's Items" Link of the patch is LINK -- Edit -- Already stated in battleground.h //Brian Bg Items - updated by [AnubisK] #define BG_CHARID 165100 // char named "Battleground" #define BG_TRADE 91 // trade mask of BG consumables Issue is fixed! problem was this was not applied. on storage/vending/trade.c #include "battleground.h" //Brian Bg Items - updated by [AnubisK] now I got a question \src\map\vending.c(323): warning C4013: 'MakeDWord' undefined; assuming extern returning int with this line //Brian Bg Items - updated by [AnubisK] || ( sd->status.cart[index].card[0] == CARD0_CREATE && MakeDWord(sd->status.cart[index].card[2],sd->status.cart[index].card[3])==BG_CHARID && BG_TRADE&2 ) // "Battleground's Items" // end Brian Bg Items
  3. You can set the specific drops of the monsters here trunk/db/mob_item_ratio.txt information is available inside the text // Specific Item Drop Ratio Database // Overrides for global item_rate* values from conf/battle/drops.conf // // Structure of Database: // ItemID,Ratio{,MonsterID1,...,MonsterID10} // // Result: // ItemID base drop rates defined in mob_db will not get multiplied // by global item_rate* values (aka drop rates) from // conf/battle/drops.conf. Instead Ratio will be used (100 = 1x). // If no MonsterID is specified, all monsters will be affected, // otherwise only listed ones. // // Examples: // 909,100 // Jellopies from monsters will drop with 1x drop rate regardless of global drop rate // 909,1000 // Jellopies from monsters will drop with 10x drop rate regardless of global drop rate // 909,100,1002 // Jellopies from Porings will drop with 1x drop rate. Other monsters that drop Jellopies are unaffected (use global drop rate). // // Notes: // - By default you can list up to 10 MonsterIDs per ItemID. // It can be changed in src/map/mob.c by adjusting MAX_ITEMRATIO_MOBS. // - Only ItemIDs up to MAX_ITEMDB are supported (default: 32768). // - Does not override item_drop_*_min/max settings. // - Does not affect card/item-granted drops. To adjust card/item-granted // drops, edit them in item_db. // - Does affect MVP prizes and Treasure Boxes. // - You can add only ONE line per ItemID. If you need various ratios // for different monsters, override drop rate with Ratio=100 and edit // base drop rates in mob_db. // - This file is reloaded by @reloadmobdb.
  4. Well it depends on your client side if its available..
  5. Do not remove this npc: npc/guild/agit_main.txt because this is the main script for WoE Remove this npc: npc/guild/agit_controller.txt (this one is automated) because you are using Euphy's WoE Controller. Remove this too npc: npc/guild2/agit_start_se.txt (this one is automated) Actually npc/guild/agit_main.txt and npc/guild2/agit_main_se.txt is where you can see all the treasure chest.
  6. The 1st script if im not wrong its the main script that will run your WoE. 2nd script is a controller mean you can decide when and which castle you want to be active on a specific date. 2nd script will not run perfectly without the 1st script.
  7. More information here https://rathena.org/wiki/Basic_Scripting
  8. Hi guys! I just want to share this source release by @aleos // Note: Only applies to non-3rd class. castrate_dex_scale: 150 // At what dex does the cast time become zero (instacast)? // Note: Only applies to 3rd class. castrate_dex_scale_3rd: 150 hope you guys enjoy using this I know it will be useful cast_rate (1).diff
  9. i think you can set this on player.conf or skill.conf.
  10. Auto Command script that allow players to enable/disable the commands they want. but how can I make the script allow to choose which @autoloottype type & how much percent for @alootid ? prontera,145,201,3 script Command Cat 545,{ .@npcname$ = "["+ strnpcinfo(1) +"]"; //dispbottom atcommand_login +""; // debugging mes .@npcname$; mes "Hello, "+strcharinfo(0); mes "What setting do you want to change?"; next; for ( .@i = 0; .@i < .total; .@i++ ) .@menu$ = .@menu$ + .atname$[.@i] +"["+( ( atcommand_login & 1 << .@i )? "^00BB22On^000000" : "^FF2200Off^000000" )+"]:"; .@s = select( .@menu$ ) -1; mes .@npcname$; mes "Status: "+( ( atcommand_login & 1 << .@s )? "^00BB22On^000000" : "^FF2200Off^000000"); next; mes .@npcname$; if ( select( "I want to "+( ( atcommand_login & 1 << .@s )? "^FF2200disable^000000": "^00BB22enable^000000" )+" it", "Nothing" ) == 2 ) { mes "See ya."; end; } if ( atcommand_login & 1 << .@s ) { mes .atname$[.@s] +" is now ^FF2200Off^000000."; atcommand "@"+ .atcommand$[.@s] +" off"; } else { mes .atname$[.@s] +" is now ^00BB22On^000000."; atcommand "@"+ .atcommand$[.@s] +( ( .@s == 1 )? " on": "" ); } atcommand_login = atcommand_login ^ 1 << .@s; end; OnPCLoginEvent: if ( !atcommand_login ) end; for ( .@i = 0; .@i < .total; .@i++ ) { if ( atcommand_login & 1 << .@i ) { atcommand "@"+ .atcommand$[.@i] +( ( .@i == 1 )? " on": "" ); } } end; OnInit: setarray .atname$, "Autoloot", "Show EXP", "Autoloot Type", "Alootid"; setarray .atcommand$, "autoloot", "showexp", "autoloottype", "alootid"; .total = 4; end; } Thanks in advance!
  11. message that show's when you teleport or change maps in game. Allow all party invitation Equipment information not open to public How can I make this one just show up on login?
  12. What client date are you using? I am having problem with 20150513 client.
  13. It didn't work out.. It says unexpected arg type C_INT I changed some things and no errors so far but the problem is the amount of reset dont changed. mes "[Mr.Utilities]"; mes "My services cost :"; mes "^000000"; mes "Reset Stats: "+ callfunc("F_InsertComma",.@reset_cost[1] + reset_inc[1]) +"z"; mes "Reset Skills: "+ callfunc("F_InsertComma",.@reset_cost[2] + reset_inc[2]) +"z"; mes "Reset Both: "+ callfunc("F_InsertComma",.@reset_cost[3] + reset_inc[3]) +"z"; next; .@s = select("Reset Stats:Reset Skills:Reset Both"); mes "[Mr.Utilities]"; if (Zeny < .@reset_cost[.@s]) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= .@reset_cost[.@s]; .@reset_cost[.@s] += .@reset_inc[.@s]; if ( .@s&1 ) resetstatus; if ( .@s&2 ) resetskill; mes "Thanks for using my services!"; end;
  14. How can i make this script increase its amount everytime you reset the stats/job and both? mes "[Mr.Utilities]"; mes "My services cost :"; mes "^000000"; mes "Reset Stats: "+ callfunc("F_InsertComma",.@reset_cost[1]) +"z"; mes "Reset Skills: "+ callfunc("F_InsertComma",.@reset_cost[2]) +"z"; mes "Reset Both: "+ callfunc("F_InsertComma",.@reset_cost[3]) +"z"; next; .@s = select("Reset Stats:Reset Skills:Reset Both"); mes "[Mr.Utilities]"; if (Zeny < .@reset_cost[.@s]) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= .@reset_cost[.@s]; if ( .@s&1 ) resetstatus; if ( .@s&2 ) resetskill; mes "Thanks for using my services!"; end;
  15. No they changed it. https://rathena.org/board/topic/102946-script-engine-upgrade/
×
×
  • Create New...