-
Posts
242 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by CyberDevil
-
I found on the web this very useful program to be able to compare 2 GRFs of kro and for example have a list of the only missing files to be able to make a client patch. The problem is that this program is all in Chinese... do you think it is possible to translate it via its DLL and using Google Translator? GrfCompare.rar
-
[SQL] Vending NPC with items/currency from SQL table
CyberDevil replied to CyberDevil's question in Scripting Support
Yes exactly, but I have already verified that it is not technically possible to do this, so I found a good solution (not very secure but working)... I created a symbolic link from the custom NPC folder (in rAthena) to a .txt file in an accessible folder via the web (under my url site). Then I created a simple FluxCP add-on accessible only to ADMIN where it is a simple PHP code for reading and editing the .txt file in a textarea field, similar to this one: <?php if($_POST['Submit']){ $open = fopen("npc.txt","w+"); $text = $_POST['update']; fwrite($open, $text); fclose($open); echo "File updated.<br />"; echo "File:<br />"; $file = file("npc.txt"); foreach($file as $text) { echo $text."<br />"; } }else{ $file = file("npc.txt"); echo "<form action=\"".$PHP_SELF."\" method=\"post\">"; echo "<textarea Name=\"update\" cols=\"50\" rows=\"10\">"; foreach($file as $text) { echo $text; } echo "</textarea>"; echo "<input name=\"Submit\" type=\"submit\" value=\"Update\" />\n </form>"; } ?> This is just an example of the code because in reality it is a bit different to be adapted to other functions of this my add-on, but basically it works like this... in fact if you try to put this php file in the same folder as the .txt file, you can still read it and edit it via web but you don't have any authentication and anyone can modify it, while under add-on you can take advantage of the FluxCP protection and authentication. Obviously, once the .txt file has been modified, the reload command must be launched. -
[SQL] Vending NPC with items/currency from SQL table
CyberDevil posted a question in Scripting Support
I wanted to know if it was possible to create a classic NPC vending but that takes the currency, the IDs of the items and the required cost, directly from an SQL table. For example, I have the "shop_npc" table with the fields called "currency","item1_id":"item1_cost","item2_id":"item2_cost" and so on for other items, respectively. The NPC must then have a query with variables that take the respective values in the above table, example (I apologize for the code taken at random but it is just an example) : prontera,100,100,3 itemshop SQL Shop 506, +.@currency$[.@i]+ , +.@item1_id$[.@i]+ : +.@item1_cost$[.@i]+ , +.@item2_id$[.@i]+ : +.@item2_cost$[.@i]; Original static code without sql function, here: prontera,100,100,3 itemshop Static Shop 506,6767,17681:5,9997:10; I don't know how to set up a script like that but it would be very interesting because I could develop a control panel via web (FluxCP/Addon) to make this NPC configurable to any GM/Admin, obviously launching the reload command in play after the table changes. Do you think this thing can be applied and do you know how to help me not being a good c++ coder? p.s.: I believe that the table creation query is like this: CREATE TABLE `shop_npc` ( `id` int(11) NOT NULL, `currency` int(11) NOT NULL, `item1_id` int(11) NOT NULL, `item1_cost` int(11) NOT NULL, `item2_id` int(11) NOT NULL, `item2_cost` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -
- script GMLogin -1,{ OnPCLoginEvent: if(getgmlevel() > 60) { atcommand "@speed 0"; //auto speed atcommand "@hide"; //auto hide } end; } ...another question... it's possibile to have different speeds in different maps (towns)? How can I modified the script in post #1?
-
Stolao's Auto Event [v2.5A]
CyberDevil replied to Stolao's topic in Game, Event, Quest Script Releases
Notice that in the Monsters Counting don't work, clicking on the sign the window appears to insert the correct number of mushrooms (reds or blacks), but nothing happens, not even an error message in the SSH console... I have tried with any number, even spamming but the script does nothing! And the mushrooms remain in the ground even you @reloadscript! -
Installed yesterday on the last rAthena version (a548f20) and all work...혻there is only a small error in the message that appears to the merchant after selling an item and closing the store remaining online (without @autotrade), which displays the gain minus the taxes even if the tax feature has not been activated... I have however solved by modifying the text of the message with a simple "With active tax, the gain was of XYZ", but in any case immediately after this text appears in the line below the real total gain without taxes... a minimum problem! �삂 @Easycore혻I had an "unhealthy" idea... in the future could we implement this exchange method also for the Buying Store System (https://irowiki.org/wiki/Buying_Store)?혻 It would be interesting to be able to have items searched for and exchange them for other currencies than Zeny
-
Error on official Devil Square event
CyberDevil replied to CyberDevil's question in Scripting Support
normally... -
I've already had this kind of error on the "announce" function in other custom scripts teased on this forum but it's the first time I've seen it appear by launching an official rAthena script... to be exact this: https://github.com/rathena/rathena/blob/master/npc/custom/events/devil_square.txt ...any suggestions to solve it? Maybe I can fix other custom scripts too
-
Quests, Games: Instance - Boss Nest
CyberDevil replied to Alayne's topic in Game, Event, Quest Script Releases
missing 3d models: \data\model\gld2\domi1.rsm \data\model\gld2\domi2.rsm \data\model\gld2\luca_05.rsm \data\model\gld2\luca_09.rsm \data\model\gld2\tree7.rsm ...anyone have that files? -
Quests, Games: Instance - Astral Temple
CyberDevil replied to Alayne's topic in Game, Event, Quest Script Releases
@Alayne I have last rathena and i reciuved this error after I kill the 1st Baphomet (MVP): [17/May 19:49][Error]: buildin_callfunc: Function not found! [AddPoints] [17/May 19:49][Debug]: Source (NPC): astral_temple_main at 1@zod (1,1) -
Quests, Games: Instance - Devil Square
CyberDevil replied to Alayne's topic in Game, Event, Quest Script Releases
@Alayne does not work with the latest version of rAthena ?- 1 reply
-
- 1
-
-
Hi @Emistry, how can I get a static Campfire without countdown timer in the central square of Prontera like a NPC, so that players can recharge their energy by standing by? EDIT: I have make this simple script, correct me if you see error: prontera,155,178,4 script Campfire 10252,{ dispbottom "This beautiful bonfire quickly regenerates the HP and SP to anyone nearby!"; end; OnInit: OnTimer2000: initnpctimer; // areapercentheal "<mapname>",<x1>,<y1>,<x2>,<y2>,<%hp>,<%sp>; areapercentheal "prontera",151,174,159,182,5,5; end; } ...but with this I can't duplicate it easy in other cities! -.-
-
same problem for me with an updated FluxCP version! My php and libraries version here: https://www.infinityro.it/verifica-php.php EDIT: I don't know if it can be used to identify the bug, but if I insert a wrong code (with the DebugMode on "true"), I get this error on the header: ...by entering a correct and working code, I receive this message but without errors on the header: (sorry for this double img, I can't delete it EHEHEHE!) XD
-
nope... I think this issue can solve with GCC-5 but it's no more important for me... the server work perfectly also with this warning!
-
in this directory "/addons/vending_ext/themes/", in addition to having the normal "default" folder, you must also have the folder with the name of your theme you are using, containing exactly the same files as the "default" folder... so you can also simply rename the "default" folder with the name of the theme you are using or copy and rename it.
-
@wakefield21 you need the theme folder with the name of your theme... try to copy the folder in bold "/addons/vending_ext/themes/default" and rename with the name of your theme that you can see in "/themes/theme_name"
-
I guess it's a bit too early but have you information to be able to update our clients with these new skills effects or do we have to wait for an update to the rAthena side?
-
Hallo @FXFreitas, any update for this new hair styles?
-
Official Headgears - Updated November 2022
CyberDevil replied to Slammer's topic in Spriting & Palette Showcase
updated... tnx a lot @Slammer -
Thank you @crazyarashi, but in this case the variable ".chance = 3;" is it also affected by the server's drop rate? This option: // The rate at which equipment is dropped. item_rate_equip: 100 at: https://github.com/rathena/rathena/blob/master/conf/battle/drops.conf#L62
-
I thought of including costumes among the mobs, but to avoid complicating my life I created this script that I haven't tested: - script Costume_Drop -1,{ OnNPCKillEvent: if ( rand( 10000 ) <= 3 ) { //0.03% drop rate .@item_id = F_Rand( 31236,20156,19524,20120,20394,20334,31178 ); //costume drop list announce "Congratulations to the player "+ strcharinfo(0) +" who, after killing a "+ getmonsterinfo( killedrid, MOB_NAME ) +" in "+ strcharinfo(3)", got a rare costume!",0,0x00FF00; getitem .@item_id,1; } With this script every monster on the server has a 0.03% chance of dropping one of the costumes on the list (I'm not sure it works!) And a global announcement is sent for congratulations. But now I thought that it is better to insert a specific costume for a specific mob as in this list: https://www.shining-moon.com/helheim/index.php/Costume_Drops#Costume_List (thanx @fr0sty123456789 for this idea!) In this case I could use the file "/rathena/db/mob_item_ratio.txt" with the simple structure "ItemID, Ratio, MonsterID" but so I would lose the global announcement... so I wanted to know if it was possible to modify this script from someone more experienced than me, to have the same function and structure with attached global announcement!?!
-
Quests, Games: Illusion Moonlight
CyberDevil replied to crazyarashi's topic in Game, Event, Quest Script Releases
I have the last rAthena and work only if you make this patch/dif: https://rathena.org/board/applications/core/interface/file/attachment.php?id=20477 taked here: ...and need to change this: getmapxy(.@map$,.@x,.@y,UNITTYPE_PC);with:getmapxy(.@map$,.@x,.@y,BL_PC); -
About Us Infinity server was one of the first private servers in the world opening in 2003 in Italy, it was merged into the euRO Beta in 2004. Now the same people are re-building it, and this time it will be a European server. INFINITY 2.0 is updated to Episode 16.2. Third jobs with jRO alternative outfits are fully implemented, along with the Rebellion Awakening and Kagerou/Oboro expansion. We've got plenty of official Instances available, as well as dozens of convenient player commands. We're also one of the few servers to have the official Achievement and Title System implemented. With the help of our brand new 2017 Renewal Client, INFINITY 2.0 strives to bring you the most up-to-date content available. This includes some great features such as the fully playable Doram/Summoner Race, the ability to choose each character's gender, item linking, and many more! Concerning PvP we've got some Battlegrounds for you, with special modes such as Conquest, Capture the Flag, Stone Control, Triple Inferno, KvM and DoTA PvP Ladder.Rates are set at 10/10/10 during the week, while the weekend rates change at 20/20/20 (from friday 6 p.m. to monday 5 a.m. CET). Some additional small customisation are: Gap EXP sharing party is 50 levels Exp and Drop function as in a pre-Renewal server: experience and drops are not affected by difference in level between the character and the monster, while in a normal renewal server severe penalty would be applied to both drop and exp rates. Enjoy leveling as you wish!!! More custom npc like warper, healer, reseter and the most common commands are available including showexp, autoloot, autosell and go Alternate costume jRO for 3rd Jobs Many personalizations of your character, including an "avalanche" of hairstyles and colors All free instances even those officially paid (Item Shop no longer required) Eglish/italian/polish direct support Expert/mature GMs (ex-official GMs of euRO) Friendly community Weekly server updates with official additions Daily login rewards with special custom prizes, special buffs, cash shop items and currency Random, weekly and seasonal events with dedicated GMs Daily Hunting rewards, including cash shop items and currency Emotional growth (intimacy) homunculus and pets x10 Modifications and improvements of the server in accordance with the demands of the community Many feauters will be implemented with server and community growth, but basic we will implement all the best that RO can offer. Renewal: Have Third Job or Higher Healer Skill Resetter Stat Resetter Job Changer Platinum Skill NPC Town Warper Dungeon Warper Field Warper Buff NPC Same-Sex Marriage Custom Maps Battleground Floating Exp Rates
-
This addon don't work with last FluxCP
-
In the file "config/application.php" you can see: 'ShowItemDesc' => true, // Displays generated item descs from parsed itemInfo.lua