Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/21/13 in all areas

  1. (1) yes (2) yes (3)here is my edited group.conf as sample, hope it can guides you.
    2 points
  2. File Name: @autopots File Submitter: goddameit File Submitted: 18 Feb 2013 File Category: Source Modifications Content Author: Goddameit Preview : http://bit.ly/XzIQJj When HP/SP lower than you set, it will auto use that item. Command : PS : Test and create on rA 17132 Click here to download this file
    1 point
  3. Topic: http://www.eathena.ws/board/index.php?showtopic=228775 Raw: http://svn.xp-dev.com/svn/tecnocronus_scripts/docs/EN/source_documentation.txt I stumbled upon this a while back. What do you think? Is this worth revising and adding into the SVN? Edit: Cleaned up the file. It needs more technical terminology and some restructuring; if anyone with good knowledge of C would like to take over, go ahead. source_doc.txt
    1 point
  4. Hello rathena member this is my broadcaster script Features: With 8 Color Red, Black, Blue, Green, Purple, Pink, Gray, Orange. you can set the payment here 100+ Downloads and no comment and no report omg No Bug!!! Wew 278 Downloads But still no reprot wew nice script Still no bug? broadcaster.txt
    1 point
  5. Sigh. I mean, the logic seems right in either case; why *Athena doesn't already support variables in item scripts by now is beyond me. ;~; Brian, halp!
    1 point
  6. XD! Where are you my beloved brain ?! btw none of us find an answer bonus2 bAddMonsterDropItem,(rand(2)? 908:909),200; just add 1 bonus when player equip the item I think you need source modification
    1 point
  7. Cheers mate! Good to see new people releasing stuff. Not to disappoint you or anything but this will do the same thing for checking the existence of the mob. if(strmobinfo(0,1002) != ""){ mes "Yes its a Poring, of course exists foo!"; close; } else { mes "No that monster does not exist or maybe it just doesn't spawn."; mes "Meh! What ever floats your boat..."; close; }Nonetheless, your code looks good.
    1 point
  8. Hi healthydude, Both Toasty and Euphy's are not good controllers to use; poorly scripted. I'd recommend sticking with the WoE Setter 3.
    1 point
  9. @papol22 remove the RENEWAL Casting system /// renewal cast time /// (disable by commenting the line) /// /// leave this line to enable renewal casting time algorithms /// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats. /// example: /// on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a /// "fixed cast time" which can only be reduced by specialist items and skills #define RENEWAL_CAST disable it and recompile... Please make your own topic for your own issues....
    1 point
  10. Add OnDay0101: OnDay0201: OnDay0301: OnDay0401: OnDay0501: OnDay0601: OnDay0701: OnDay0801: OnDay0901: OnDay1001: OnDay1101: OnDay1201: query_sql "SELECT `name` FROM `pvpm_data` WHERE `type`=0 ORDER BY `ratio` DESC LIMIT 3", .@name$; if( getarraysize( .@name$ ) ) set $top3_pvprank$, implode( .@name$, "?" ); end; after if(getarg(0) == "PCLoadEvent") { getmapxy(@map$,@x,@y,0); if(getcastlename(@map$)=="") { set @RightWoEMap,0; end; } if(agitcheck() || agitcheck()) set @RightWoEMap,1; end; } Then add if( $top3_pvprank$ != "" ) { explode( .@name$, $top3_pvprank$, "?" ); for( set .@i, 0; .@i < getarraysize( .@name$ ); set .@i, .@i + 1 ) { if( .@name$[ .@i ] == strcharinfo(0) ) { deletearray .@name$[ .@i ], 1; if( getarraysize( .@name$ ) ) set $top3_pvprank$, implode( .@name$, "?" ); else set $top3_pvprank$, ""; getitem 501, 1; mes "Congratulation you were in the top 3 last month."; close; } } } after Begin: while(1) {
    1 point
  11. thank you sir brian...... [ solved ]
    1 point
  12. Top 3 for ratio ? or Top 3 for kills ?
    1 point
  13. Not optimized way : duplicate label T_armor: and change all EQI_ARMOR by the equipment you want (example : EQI_SHOES to enchant shoes) in the duplicate Then add a new label (the duplicate) in the menu menu "Armor",T_armor,"Shoes",T_shoes;
    1 point
  14. @papol22 trunk/npc/custom/etc/floating_rates.txt
    1 point
  15. Если я правильно помню, то подпись предмета — это хранение ID-чара в базе, можно впринципе и без модификаций сорцов сделать, только тогда потом как-то надо за раздувшейся базой чаров следить.Алгоритм такой: - НПЦ получает от игрока подпись через INPUT (желательно ограничить её по размеру до 23 символов) - СКРИПТ вносит эту подпись в базу MySQL, как имя персонажа - Делает подпись на предмете с этим ID опционально: - поправить сорцы на предмет удаления предмета, делать проверку id подписи и удалять ещё чар-подпись из базы, чтобы не захламлять базу или написать скрипт на крон для проверки «устаревших» предметов. Если этого не сделать, база будет засрана чарами-подписями. Не жадный, даю рабочий скрипт: prontera,155,231,3 script TestSql#sql 792,{ set .@account_id, 199; mes "Введите подпись, максимум 23 символа."; next; input(.@write$, 0, 23); mes "Точно хотите подписать: ^3355FF"+.@write$+"^000000"; if ( select("Я передумал:Всё отлично") == 1 ) { close; } query_sql("INSERT INTO `char` (`account_id`, `zeny`) VALUES ("+.@account_id+", "+getcharid(0)+")"); query_sql("SELECT char_id AS id FROM `char` WHERE `account_id` = "+.@account_id+" AND `zeny` = "+getcharid(0)+" ORDER BY `char_id` DESC LIMIT 1", .@id); query_sql("UPDATE `char` SET `name` = '"+escape_sql(.@write$)+"', `zeny` = 0 WHERE char_id = "+.@id); getitem2 501,1,1,4,0,254,0,.@id&0xffff,(.@id>>16)&0xffff; close; } Выглядить будет вот так: Вариантов с сорц модификацией можно придумать достаточно много, но это будет сорц модификация.
    1 point
  16. The theme looks good. Very clean and simple. Most servers would prefer a fancy one though. (On a side note.. Dunno if the start button at the middle is intended.)
    1 point
  17. yes doxygen but we need to reparse each function and add a comment on what it's purpose. also texte are nice but I'd really love some UML schema, modele and sequence, especially sequence since we more or less know the modele already. That would be a huge plus in our organisation to know where to put this or this handle..
    1 point
  18. I have patched rev 17133 manually with [patch 17061] and dont give me any error... if you are patch it manually, check your code one more time, maybe you missed some line or part of the code. I hope this helps. Extended_Vending_System_1.8.1 r17133.patch
    1 point
  19. It's just a matter of lowercase/uppercase for some NPC name ( castle 4 and 5 for yuno and rachel ) yuno,109,167,5 script Himinn 722,{ if( select( "^777777~ Warp to "+ strnpcinfo(1) +" ?:~ Cancel^000000" ) -1 ) close; getmapxy( .@map$, .@x, .@y, 1, "Sc01_Flag" ); warp .@map$, .@x, .@y; end; OnAgitInit2: OnRecvCastlesc01: FlagEmblem GetCastleData("schg_cas01",1); end; } yuno,110,171,5 script Andlangr 722,{ if( select( "^777777~ Warp to "+ strnpcinfo(1) +" ?:~ Cancel^000000" ) -1 ) close; getmapxy( .@map$, .@x, .@y, 1, "Sc02_Flag" ); warp .@map$, .@x, .@y; end; OnAgitInit2: OnRecvCastlesc02: FlagEmblem GetCastleData("schg_cas02",1); end; } yuno,111,175,5 script Viblainn 722,{ if( select( "^777777~ Warp to "+ strnpcinfo(1) +" ?:~ Cancel^000000" ) -1 ) close; getmapxy( .@map$, .@x, .@y, 1, "Sc03_Flag" ); warp .@map$, .@x, .@y; end; OnAgitInit2: OnRecvCastlesc03: FlagEmblem GetCastleData("schg_cas03",1); end; } yuno,112,179,5 script Hljod 722,{ if( select( "^777777~ Warp to "+ strnpcinfo(1) +" ?:~ Cancel^000000" ) -1 ) close; getmapxy( .@map$, .@x, .@y, 1, "sc04_Flag" ); warp .@map$, .@x, .@y; end; OnAgitInit2: OnRecvCastlesc04: FlagEmblem GetCastleData("schg_cas04",1); end; } yuno,114,183,5 script Skidbladnir 722,{ if( select( "^777777~ Warp to "+ strnpcinfo(1) +" ?:~ Cancel^000000" ) -1 ) close; getmapxy( .@map$, .@x, .@y, 1, "sc05_Flag" ); warp .@map$, .@x, .@y; end; OnAgitInit2: OnRecvCastlesc05: FlagEmblem GetCastleData("schg_cas05",1); end; } // Arunafeltz rachel,124,120,3 script Mardol 722,{ if( select( "^777777~ Warp to "+ strnpcinfo(1) +" ?:~ Cancel^000000" ) -1 ) close; getmapxy( .@map$, .@x, .@y, 1, "Ar01_Flag" ); warp .@map$, .@x, .@y; end; OnAgitInit2: OnRecvCastlear01: FlagEmblem GetCastleData("arug_cas01",1); end; } rachel,136,120,5 script Cyr 722,{ if( select( "^777777~ Warp to "+ strnpcinfo(1) +" ?:~ Cancel^000000" ) -1 ) close; getmapxy( .@map$, .@x, .@y, 1, "Ar02_Flag" ); warp .@map$, .@x, .@y; end; OnAgitInit2: OnRecvCastlear02: FlagEmblem GetCastleData("arug_cas02",1); end; } rachel,138,126,6 script Horn 722,{ if( select( "^777777~ Warp to "+ strnpcinfo(1) +" ?:~ Cancel^000000" ) -1 ) close; getmapxy( .@map$, .@x, .@y, 1, "Ar03_Flag" ); warp .@map$, .@x, .@y; end; OnAgitInit2: OnRecvCastlear03: FlagEmblem GetCastleData("arug_cas03",1); end; } rachel,135,131,7 script Gefn 722,{ if( select( "^777777~ Warp to "+ strnpcinfo(1) +" ?:~ Cancel^000000" ) -1 ) close; getmapxy( .@map$, .@x, .@y, 1, "ar04_Flag" ); warp .@map$, .@x, .@y; end; OnAgitInit2: OnRecvCastlear04: FlagEmblem GetCastleData("arug_cas04",1); end; } rachel,124,130,1 script Banadis 722,{ if( select( "^777777~ Warp to "+ strnpcinfo(1) +" ?:~ Cancel^000000" ) -1 ) close; getmapxy( .@map$, .@x, .@y, 1, "ar05_Flag" ); warp .@map$, .@x, .@y; end; OnAgitInit2: OnRecvCastlear05: FlagEmblem GetCastleData("arug_cas05",1); end; }
    1 point
×
×
  • Create New...