Dastgir
Script Developers-
Content Count
3805 -
Joined
-
Last visited
-
Days Won
250
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Dastgir
-
There was only 3 HPM Commits Improved const pointer detection in the HPMHooking generator (f3c079d)Added --load-plugin commandline argument (ab87890, 0e58529) But yah, BG Queue, Rebellion Jobs are the most awaited ones. Hope we would have them this month.. Would Also be nice if there Some rA merges (the patch which added Class_ enums, i.e the Aegis Method)
-
Pet Evolution Script, Configurable Chance Config
Dastgir replied to Litro's question in Script Support
prontera,156,178,5 script ldfhsdfkljs 100,{ if ( getpetinfo(PET_CLASS) ) { mes "please return your pet into egg state to continue"; close; } getinventorylist; for ( .@i = 0; .@i < @inventorylist_count; .@i++ ) { if ( @inventorylist_card1[.@i] == -256 ) { query_sql "select intimate, class, level, equip, name from pet where pet_id = "+( .@id = @inventorylist_card2[.@i] + ( ( @inventorylist_card2[.@i] >= 0 )? 0 : 1 << 16 ) + @inventorylist_card3[.@i] * ( 1 << 16 ) ), .@intimate, .@class, .@level, .@equipped, .@name$; if ( .@intimate > .pet_min_friendly ) { .@menu$ = .@menu$ +"^0000FF"+ .@name$ +" ^00CC00{"+ getmonsterinfo( .@class, 0 ) +"} ^000000["+ .@level +"] ^FF0000"+( ( .@equipped )? "*equipped" : "" )+":"; .@pet_id[.@c] = .@id; .@egg_id[.@c] = @inventorylist_id[.@i]; .@pet_name$[.@c] = .@name$; .@pet_class[.@c] = .@class; .@pet_level[.@c] = .@level; .@pet_equipped[.@c] = .@equipped; .@c++; } } } if ( !.@c ) { mes "your inventory doesn't have any pet egg that intimate enough"; close; } mes "select which pet that you want it to evolve"; next; .@s = select( .@menu$ ) -1; mes "selected : "+ .@pet_name$[.@s]; mes "level : "+ .@pet_level[.@s]; mes "equipped : "+( ( .@pet_equipped[.@s] )? "Yes" : "No" ); if ( getd( ".petr"+ .@pet_class[.@s] ) ) { mes "require :-"; .@size = getarraysize( getd( ".petr"+ .@pet_class[.@s] ) ); for ( .@i = 0; .@i < .@size; .@i += 2 ) mes getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" )+"x "+ getitemname( getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ) ); } next; if ( !getd( ".pet"+ .@pet_class[.@s] ) ) { mes "this pet cannot evolve any further"; close; } if ( .@pet_level[.@s] < .min_level ) { mes "this pet doesn't meet the level requirement"; close; } if ( .@pet_equipped[.@s] ) { mes "please unequip this pet accesory to continue"; close; } if ( getd( ".petr"+ .@pet_class[.@s] ) ) { .@size = getarraysize( getd( ".petr"+ .@pet_class[.@s] ) ); for ( .@i = 0; .@i < .@size; .@i += 2 ) { if ( countitem( getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ) ) < getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" ) ) { mes "you need "+ getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" ) +"x "+ getitemname( getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ) ) +" to evolve this pet"; close; } } for ( .@i = 0; .@i < .@size; .@i += 2 ) delitem getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ), getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" ); if (rand(1,100) <= getd(".petc"+ .@pet_class[.@s]) ){ mes "Failed to Evolve the Pet."; mes "Pet intimacy Dropped to 0"; query_sql "UPDATE `pet` SET `intimate`=0 where pet_id = "+.@pet_id[.@s]; close; } } delitem2 .@egg_id[.@s], 1, 1, 0, 0, -256, ( .@pet_id[.@s] % ( 1 << 16 ) - ( .@remainder15 = .@pet_id[.@s] % ( 1 << 15 ) ) < ( 1 << 15 ) )? .@remainder15 : ( .@remainder15 - ( 1 << 15 ) ), .@pet_id[.@s] >> 16, 0; makepet .@get_pet_id = getd( ".pet"+ .@pet_class[.@s] +"["+ rand( getarraysize( getd( ".pet"+ .@pet_class[.@s] ) ) ) +"]" ); mes "your "+ .@pet_name$[.@c] +" has reborn into "+ getmonsterinfo( .@get_pet_id, 0 ); mes "please rename your pet ~"; close;OnInit: .min_level = 80; // minimum level 80 to change pet egg .pet_min_friendly = getbattleflag("pet_support_min_friendly");// setarray getd( ".petr"+ <require pet egg> ), <require itemID 1>, <require item require 1>, <require itemID 2>, <require item require 2>, ... setarray getd( ".petr"+ 1002 ), 501,1, 502,2, 503,10; setarray getd( ".petr"+ 1011 ), 512,5, 513,8, 514,20; .petc1002 = 8000; //8000=80% .petc1011 = 8000; //.petc1011 = PetChance for ID 1011. If chance is not set then its 100%// setarray getd( ".pet"+ <require pet egg> ), <random pet egg 1>, <random pet egg 2> .... setarray getd( ".pet"+ 1002 ), 1113, 1031; // poring pet(1002) can evolve into drops(1113) or poporing(1031) setarray getd( ".pet"+ 1011 ), 1042; // chonchon(1011) can evolve into steel chonchon(1042) // add more as needed end;} So here's the Script, with some options to set Chance to Success. If a Pet evolution fails, it will delete the item required to evolve the pet, and change intimacy to 0 If Pet evolution pass, It will NOT set intimacy to 0 and will delete the item required to evolve the pet. -
Well After thinking a lot about this, I think its better to keep quite, and don't buy any new harmony license(if you wanna complain, then why you are still buying new license of harmony), IF you know that harmony is not updating, better find something else..... For the existing users, maybe wait or just switch of to other Protectors which are in active development......
-
Not too satisfied with this month, too less update, ( just liked that regex update only).......
-
but you can add those item entries in iteminfo.....
-
the thing i ask is, ' is in iteminfo.lua was included the various headger from another official ragnarok server that stated above ? ' i was downloaded all git/repo file, but when i take a look into the file the headger from another official server is not included. Michieru Added some of them (or many) at the start of the commit, from then onwards, we just updated kRO. So there are other server headgears, but only (300-400) I guess. Also we are missing a lot of kRO items, which will be implemented in this month.
-
- script adssfcvb -1,{OnCommand: if ( !countitem(501) ) { // change 501 to your item id. dispbottom "You must have an Aura Ticket to use this command"; end; } atcommand "@aura "+atoi(.@atcmd_parameters$[0])+" "+atoi(.@atcmd_parameters$[1])+" "+atoi(.@atcmd_parameters$[2]); end; OnInit: bindatcmd "aura", strnpcinfo(3)+"::OnCommand"; // HERE PLEASE STRNPCINFO(3) end;}
-
Font Accepts only 1 number(the command @font) ---------------------------------------@font <0-9>Sets client font (0 is the default).---------------------------------------
-
roBrowser - Ragnarok Online for Web Browsers
Dastgir replied to KeyWorld's topic in Website Releases
2014/04/02 16:42:09 [error] 16301#0: *106 open() "/usr/share/nginx/html/roBrowser/client/data/texture/lots/ro2_leafy01.bmp" failed (2: No such file or directory), client: 111.91.78.91, This even happens if I load my RO Folder (Via Drag and Drop) Using Chrome. (I have the file in GRF in local folder, even in data folder of local folder, Also that file exists in the data folder of VPS and GRF) The above file also exists. This causes MAP to not load and loading stucks at 100% (after char select) -
Mostly its client-side(You might have to hex your client and fill it with 0's)
-
Better Follow Some instructions on the board(and wiki) and setup your own, for creating a server 100$ is too much(overbudget) ... Anyone can setup a basic server(though there are some people charging 5-10$ for it,which I don't know why is the most used service.). (btw, you posted in wrong forum)
-
Follow http://herc.ws/board/topic/152-obtaining-hercules/ and download via git. (maybe its your winzip(or whatever you use) problem on extracting,or try other program to extract like 7-zip, winrar)
-
Seems like i messed away the getgmlevel Part, First i implemented these, than after seeing your comment here, i used [4] for time, and it messed away. Other guild names become NULL when you restart your server. Never experienced this, but yet, i will implement your way. About bc_self,(I don't like announce, that's why i have chosen npc dialog...)
-
+1 for Overhaul of refine_db.txt, current one is not soo readable...
-
What you mean by making auraset looping, mind giving an example?
-
1) & 2) I will fix it in next update. (you could have lowered the percent of agitcount too, but anyways, included some options to prevent unnecessary increment of AgitCount) Added a new configuration .Config_UGR[4](set seconds here), if WoE Starts again within x seconds, then AgitCount will not increase. (you were using v1.0b, while v1.0c was out, anyways new version will be v1.0d, and will have these problems fixed.)
-
Get the new texture folder from https://github.com/ROClientSide/Translation/tree/master/Data/texture
-
ahh sprintf warning in new version, nah(impossible), I removed all sprintf functions. and only 1 sscanf function is there in Atcommand(That's an necessity) /usr/include/stdio.h:363: note: expected ‘const char * __restrict__’ but argument is of type ‘long unsigned int’ Its not an plugin problem, see the include path, its your msvc stdio problem. While opt_flag was also fixed. So just get the new version, and its fixed.
-
Get the latest msgstringtable.txt and texture folder. Maybe this can help: https://github.com/ROClientSide/Translation
-
Make 4 Inivisible Trader NPC's then make 1 new npc with list prontera,150,150,5<tab>script<tab>Vote Shop<tab>,999,{mes "Select Category";switch(select("SHOP1:SHOP2")){ case 1: openshop("Vote_SHOP1"); close; case 2: openshop("Vote_SHOP2"); close;}}-<tab>trader<tab>Vote_SHOP1<tab>-1,{//Some Stuff HERE}-<tab>trader<tab>Vote_SHOP2<tab>-1,{//Some Stuff HERE} Haven't tested, but should work.
- 29 replies
-
- point shop
- shop
-
(and 6 more)
Tagged with:
-
Exams Again ... Will be back on April 12th...... Hoping for some great releases that time by me...
-
I won't be updating this, either won't recommend anyone also, since Hercules have its inbuilt new Shop System: http://herc.ws/board/topic/3614-christmas-patch-gifto/
- 29 replies
-
- point shop
- shop
-
(and 6 more)
Tagged with:
-
Maybe I am the only one who is given warning with sprintf (maybe bcoz i use MSVC++ for compiling.) Changing it to sprintf, (anyways, it was just a warning and i guess it would have compilied, and ran properly._
-
Maybe they eliminated the same IP votes..........
-
Didn't we lose? MMOBomb Site: http://www.mmobomb.com/ultimate-f2p-showdown?nxid=10 , Or check image below.