Jump to content

Bahmut

Members
  • Posts

    382
  • Joined

  • Last visited

Everything posted by Bahmut

  1. I think. It works for me on 32bit and 64bit Windows 7.
  2. He don't have to duplicate it to create a renting item. That's what he was asking for
  3. If the mysql database is on your server you can use localhost instead of the ip address. If you are using another servers mysql database please make sure it allows connections from your game server.
  4. You have to add your item ids to the script and then add the script to your server: http://upaste.me/4850529ea76b955
  5. Bahmut

    Casting Problem

    If you are using Renewal casting there is no instant cast. To turn it off comment it out in renewal.h: http://rathena.org/w...DE#RENEWAL_CAST and then recompile: http://rathena.org/wiki/Compiling
  6. rAthena has already added the offical +11 to +20 refiner using Cardium and Bradium. If you are searching for a custom refiner I think Emistry has released a good customizable script.
  7. This works fine for me on 32/64bit: http://rathena.org/board/topic/53423-weethumbnail/page__hl__thumbnail
  8. You have to use: make clean ./configure --enable-64bit make sql if you don't have a 64 bit system just use: ./configure make sql For a full guide: http://rathena.org/wiki/Installation_%28Debian%29 for Debian Systems http://rathena.org/wiki/Installation_(CentOS) for CentOS
  9. Hey I got a problem with the packet extract. It always give me an error after choosing my exe: I'm using the fRO client. This is the exe if you need it: Ragexe.zip
  10. Thats because several of your newly added mobs drop the item #9000 but this item does not exist in your item database. So you have to remove them from your mobs or add it to your item database.
  11. Yeah but he also forgot to use " when writing text. His code: mes Your Donation Coupon--[+countitem(.Cost)+]; How it should be: mes "Your Donation Coupon--["+countitem(.Cost)+"]";
  12. This gave me an error. Fixed it by using * instead of 0: 0 3 * * * /LOCATION/OF/SCRIPT/bkup_sql.sh
  13. You also forgot to use " when writing text: //========================================= - shop dyn_shop8 -1,50150 //========================================= ra_temsky,57,145,4 script Donation Armor Shop#8 966,{ mes "Your Donation Coupon--["+countitem(.Cost)+"]"; close2; callshop dyn_shop+.a,1; npcshopattach dyn_shop+.a; end; OnInit set .a,strnpcinfo(2); //========================================= set .Cost,7179; //========================================= setarray .buy_id[0],2383,2344,2346,2348,2350,2367,2381,2377,2382,2378,2379,2376,2380; setarray .buy_co[0],20,6,6,6,6,6,6,12,12,12,12,12,12; //========================================= npcshopitem dyn_shop8,.buy_id[0],.buy_co[0]; for(set .ik,1;.ikgetarraysize(.buy_id);set .ik,.ik+1){ npcshopadditem dyn_shop+.a,.buy_id[.ik],.buy_co[.ik]; } end; OnBuyItem getinventorylist; if(@bought_quantity[@i] = 0){ goto OnEnrd; end; } for(set @i,0;@igetarraysize(@bought_nameid);set @i,@i+1){ //KeyWorld set .@type, getiteminfo( @bought_nameid[.@i], 2 ); if ( .@type == 4 .@type == 5 .@type == 7 .@type == 8 ) set .@count, .@count + 1; else { for( set .@j,0; .@j@inventorylist_count; set .@j, .@j+1 ) if ( @inventorylist_id[.@i] == @bought_nameid[.@i] ) break; if ( .@j == @inventorylist_count ) set .@count, .@count+1 ; } for(set @i2,0;@i2getarraysize(.buy_id);set @i2,@i2+1){ if(@bought_nameid[@i]==.buy_id[@i2]){ set @gh,@gh+.buy_co[@i2]@bought_quantity[@i]; set @wh,@wh+getiteminfo(@bought_nameid[@i],6)@bought_quantity[@i]; } } } if ( .@count + @inventorylist_count 100 ) { announce "[D-Shop] Can't hold more than 100 items.",bc_self; goto OnEnrd; } if(countitem(.Cost)@gh){ announce "You do not have enough Reunited Donation Ticket.",bc_self; announce "Contact ADMIN and try to donate.",bc_self; goto OnEnrd; end; }else{ if(@wh(MaxWeight-Weight)){ announce "[D-Shop]Too heavy",bc_self; goto OnEnrd; end; }else{ delitem .Cost,@gh; for(set @i,0;@igetarraysize(@bought_nameid);set @i,@i+1){ getitem @bought_nameid[@i],@bought_quantity[@i]; } } } OnEnrd set @gh,0; set @wh,0; set @i,0; set @i2,0; deletearray @bought_quantity,getarraysize(@bought_quantity); deletearray @bought_nameid,getarraysize(@bought_nameid); end; }
  14. Seems like you are using a different packet version than the one set in your mmo.h
  15. Please be more descriptive! Does it give you an error? Is there no list? Or what?
  16. I think this is what you are searching for: http://sourceforge.net/projects/rathena/
  17. use: setarray .array_RefineItems[0],30000,30110,30033; instead of: setarray .array_RefineItems[0],<30000>,<30110>,<30033>;
  18. These classes are not finished yet so why do you want the skill translations?
  19. Fixed it: http://upaste.me/31c5521769c03eb
  20. Fixed it: http://upaste.me/48c5520fd515e9b
  21. I don't think you can do this via scripting, but you might be able to realise this through a src edit.
  22. Use this: http://rathena.org/b...breaker +ladder And add this: goto Llad; before this code block: mes "[ ^00FF00 Kaspersky ^000000 ]"; mes "Hello there "+strcharinfo(0)+", what do you want to do?"; menu "Check Emperium Break Points",-,"View Breaker Ladder",Llad,"Exchange Points",Lex,"Nothing",Lno; next; It should look like this: goto Llad; mes "[ ^00FF00 Kaspersky ^000000 ]"; mes "Hello there "+strcharinfo(0)+", what do you want to do?"; menu "Check Emperium Break Points",-,"View Breaker Ladder",Llad,"Exchange Points",Lex,"Nothing",Lno; next; Haven't tested this but it should work.
  23. This should work, but haven't tested it. If it's not working just report it and I will fix it: http://upaste.me/0c8c51608111b8e
  24. Why do you want to use this exact client date? Why don't you use one before or after this date?
  25. No this is not possible without doing heavy src modification, atleast if you want to use all the pre-re stat and skill formulars for this pre-re WoE.
×
×
  • Create New...