Jump to content

Alexandria

Members
  • Content Count

    341
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Alexandria

  1. If you're using NEMO v.2.0 or newer, it's pretty easy to do it when hexing your client. Just enable the three "Packet __ Key Encryption" patches, and input the desired values. Then edit your src/map/packets.h, adding a line like this near the end of your file (replacing FIRSTKEY, SECONDKEY and THIRDKEY as appropriate): // Add me before the '#endif /* _MAP_PACKETS_H */' linepacketKeys(0xFIRSTKEY,0xSECONDKEY,0xTHIRDKEY);Altermatively, if you don't want to edit source files, and you're compiling through ./configure and make, you can use the following (again, replace with your actual keys):./configure --with-key1=0xFIRSTKEY --with-key2=0xSECONDKEY --with-key3=0xTHIRDKEY I see, my doubts are: what keys do I have to put in? Do I have to make up those keys? Do I have to use three different ones?
  2. Or just update the client keys (already explained some pages before). Do you mind if you make a complete guide of that? Because there isnt a lot of information. I tried to do it but I had to give up because of the same.
  3. This is a skin for the Thor Patcher. It was created using Photosho CS 6 and using html 5 plus css3. The youtube box will play the video automatically so you can play the music that you would like to add. Such as, video news about your server, conquests, etc. Also there is a box for facebook. It includes: > PSD file is available if you want to add or edit it. > The config.ini file has the right code for this skin. The size is 1100x500px. Thor_Patcher2.6.1.66.rar
  4. Hello you guys, is there a way to automatically wipe Forger/Brewer/Taekwon rankings every 3 months and this, without having to reboot the server ? I have made this script but my server has to reboot to show the ranks empty. http://pastebin.com/J87N6pxZ Thanks.
  5. My suggestion differs from Lilith's incredible (but sadly abandonned) script; biggest difference being Antagonism system is based on something natively implemented in RO (as a guild leader, right-click on someone from another guild and "set his guild as antagonist). The "Antagonists" interface (CTRL+G) could finally be useful.
  6. Hello you guys. How can I enable the antagonism system, so members of rival guilds (set by Guild leaders, maybe 3 foes maximum) can attack each other anytime, anywhere (except in towns). The main difference with Global PvP (PK server type) is that if someone is un-guilded or member of a guild not flagged as 'FoE' then this person cannot attack/be attacked. Thank you.
  7. Thanks for replying, leloush But i want to keep my script, any help to fix that error? thanks
  8. I'm having issues with a vending script: when you start using the shop, if don't happen to "close" the first dialog windows properly when the second one (items menu) pops up (let's say you started to drag items to your purchase windows); you will end "stuck" with no more options available. But if you @go 0 then the "ghost" window making trouble will be visible. The script is just below, thanks for your help. My npc: http://pastebin.com/s4f818c9 You help is very appreciated. Thank you. PD: Sorry I posted in the wrong section but now I can't move this to the "support" section; would be nice if a moderator could put this topic there, thanks.
  9. Working with the latest Hercules version. I would like to leave a patch for fix this errors that I had. CC chat.c CC chrif.c CC clif.c CC date.c CC duel.c CC elemental.c CC guild.c CC harmony.charmony.c: In function ‘harmony_action_request’:harmony.c:327: error: ‘struct atcommand_interface’ has no member named ‘parse’harmony.c:334: error: ‘struct atcommand_interface’ has no member named ‘parse’make[1]: *** [obj_sql/harmony.o] Error 1make[1]: Leaving directory `/home/hercules784/Hercules/trunk/src/map'make: *** [map_sql] Error 2 Harmony_Full_3.4.0.patch
  10. Edit your atcommand.c and add: ACMD_FUNC(dealer){ nullpo_retr(-1,sd); if( sd->npc_id || sd->vender_id || sd->buyer_id || sd->state.trading || sd->state.storage_flag ) return -1; npc_event(sd,"DEALER_NPC::OnWantToSell",0); return 0; } NPC: -<tab>script<tab>DEALER_NPC<tab>-1,{OnWantToSell:callshop "SellShop",2;end; - shop SellShop 139,678:-1,608:-1}
  11. AnnieRuru, thanks a lot for your help. I have edited the npc because your npc gives 1 item by one click but thanks though. Here's your scripts with my related edits: prontera,156,187,6 script dfkjhsdfkjs 100,{ query_sql "select balance from cp_credits where `account_id` = "+ getcharid(3), .@points; if ( .@points >= 1 ) { query_sql "update cp_credits set balance = balance -" +.@points+ " where account_id = "+ getcharid(3); getitem 7608, .@points; } else dispbottom "You don't have anymore voting points"; end;} Thanks again (:
  12. Hello there, I would like to ask for a NPC converter from FLUX Credits to an item custom. As you know Flux CP works with their system "credit donation" (cp_credits in SQL data base). I want a npc that allows the user convert their credits to this item custom 7608. Thanks for your help, thanks you
  13. No, it didnt. The problem was another thing, we already fixed it. Thanks.
  14. You could always check manually on the file: https://github.com/HerculesWS/FluxCP/blob/master/lib/Flux/PaymentNotifyRequest.php According to its history, it hasn't been changed / updated / touched since (about) a year ago when we first forked it: On a side note, the code could be the same: @Mysterious, Thanks for replying. I don't know if this caught your attention but they mention more than a single modification in this thread: http://rathena.org/board/topic/92216-flux-donation-problem/#entry246151 I used Sandbox.paypal for my tests and I was able to donate but the account never got credited with credits. Did anyone experienced the same issue?
  15. Hello there. I would like to know if Paypal changed anything forcing us to update our PaymentNotifyRequest.php. Source information: http://rathena.org/board/topic/92216-flux-donation-problem/?p=245429 Please, can you confirm this? Thanks
  16. Well, it is kind of embarrassing ... but yeah you are right. I have fixed it thanks!
  17. Hello guys, This npc was working good in rAthena but it doesnt anymore in Hercules. It doesnt show any errors in console. The problem with this npc in Hercules is that doesnt record the information in sql table. NPC: http://pastebin.com/YNVrWVjX SQL Table: CREATE TABLE IF NOT EXISTS `mvp` ( `char_id` int(11) unsigned NOT NULL auto_increment, `name` varchar(255) NOT NULL default '0', `kills` int(11) unsigned NOT NULL default '0', `points` int(11) unsigned NOT NULL default '0', `level` int(11) unsigned NOT NULL default '0', KEY `char_id` (`char_id`), KEY `kills` (`kills`), KEY `points` (`level`), KEY `level` (`level`)) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=156262 ;/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; You help is very apreciated, thank you
  18. Thanks you very much AnnieRuru, it is working now and for you too, nostafuz.
  19. At first, thank you very much for your help. It is very appreciated. It didnt work. the EMP breaking times aren't recorded when it is broken. I have done this: First, I have queried this in my db: ALTER TABLE `char` ADD `empbreak` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0' AFTER `fame`; Second, I have added this line: query_sql "UPDATE `char` SET empbreak = empbreak+1 WHERE char_id = " + getcharid(0); in my npc/guild/agit_main.txt and it looks like this now: // The Emperium has been broken.OnAgitBreak: set .@GID,getcharid(2); // Show and log error if an unguilded player breaks the Emperium. (Should NEVER happen) if (.@GID <= 0) { set .@notice$,"Character "+strcharinfo(0)+" ("+getcharid(0)+") broke the Emperium in Castle: "+strnpcinfo(2)+" while guildless. No data will be saved and Emperium respawned."; logmes .@notice$; debugmes .@notice$; donpcevent "Agit#"+strnpcinfo(2)+"::OnStartArena"; end; } query_sql "UPDATE `char` SET empbreak = empbreak+1 WHERE char_id = " + getcharid(0); // Adjust Economy Invest Level for Castle set .@Economy,getcastledata(strnpcinfo(2),2) - 5; and im using AnnieRuru's script: ////============================//// Emp Breaking Ladder////============================prontera,155,183,4 script Emperium Ranking 722,{ .@nb = query_sql( "select char_id as aaa, ( select name from `char` where char_id = aaa ), value from char_reg_num_db where `key` = 'brokeemp' and value > 0 order by value desc limit 10", .@cid, .@name$, .@value ); mes "^FF0000[ Emperium Ranking ]^000000"; for ( .@i = 0; .@i < .@nb; .@i++ ) mes "^0000FF"+ ( .@i +1 ) +".^000000 " + .@name$[.@i] +" - ^FF0000"+ .@value[.@i] +"^000000 Break(s)"; mes " "; mes "^0000FF["+ strcharinfo(0) +"'s]^000000 Emperium Break's is ^FF0000" + brokeemp + "^000000 Break(s)"; close;OnInit:// waitingroom "Emperium's Ranking",0; // Look on the configuration! end;} Please, any help? thanks a lot
  20. Bump~ I have the same doubts about it. Any help? Thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.