jaBote
Community Contributors-
Content Count
2037 -
Joined
-
Last visited
-
Days Won
43
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by jaBote
-
From some months ago till now I haven't a machine to test like 80% things I run on a computer myself. I heard from a personal friend of mine who said was getting continuous crashes just after updating the Rebellion skills on rA (and only thing I could do for helping her was reverting to the previous version and it worked, I couldn't catch the problem, maybe some of her modifications made the server crash? I believe she's still at that revision because I told her best was not to update ATM). I thought I removed all of these warnings from me on the forums when Akinari warned us on IRC that we weren't being neutral on this (some days after that post), so I apologised there and I think I must apologise here again. Only test case I could get my hands on that same day wasn't stable. Sorry for the generalisation. P.S.: Right now, and since around February, I don't read any of rAthena forums except select topics and the Spanish section, which I revise daily for still giving support there.
-
You could also alter all MvP cards you want to disable one by one. Simply act like this: if (!getmapflag(strcharinfo(3),"mf_gvg") { <ORIGINAL SCRIPT HERE> } For example on Garm Card: { if (!getmapflag(strcharinfo(3),"mf_gvg") { bonus2 bAddEffWhenHit,Eff_Freeze,5000; } },{},{} And so on, but may not work on every MvP card
-
I could make something similat to that if I have free time, but don't expect me to make them appear as the official NPCs since I have no access to them. Let's wait if somebody else gives it a try, not having much free time ATM.
-
Either there aren't or nobody released them so that they're available to everybody.
-
How to set that when max zeny was reached it will convert to coins?
jaBote replied to khenma's question in General Server Support
You should perform a source edit (which I don't know) for fulfilling that. -
Supposedly yes.
-
Yeah, but the card effect gets nullified that way.
-
Vellum Katzbalger [0] [Two Handed] Item ID# 21002 (Velum_Katzbalger)
jaBote replied to karazu's question in Script Support
According to this online database that has all descriptions from official servers: http://www.divine-pride.net/database/item/21002 its effects varies from server to server, but we don't have something like that yet, only the pRO one. -
Maybe you want to use this plugin: getandmob. This way your script will be easier to make. Most basic sample: map,x,y,dir script MonsterHunting sprite,{ OnPCLoginEvent: // So that newly logged players can't exploit if ( lastdate != gettime(8) ) { // gettime(8) returns day of the year. Error margin: if someone logs in again after an exact year. set mobID, getrandmob(0,99); set lastdate, gettime(8); } dispbottom "Your mob of the day is: " + strmobinfo(1,mobID); end } I assume you know basic scripting for doing the rest of what you want. This, as requested, just picks you a mob that can be different to another player's.
-
- script autoattack_bind -1,{OnInit: bindatcmd "autoattack", strnpcinfo(3)+"::OnCommand"; end;OnCommand: useatcmd "@autoattack"; if (@autoattack == 0) { set @autoattack, 1; attachnpctimer; initnpctimer; } else { set @autoattack, 0; stopnpctimer; detachnpctimer; } end;OnPCDieEvent: // Maybe this is what you wanted to say with OnDeath?OnTimer3600000: // 1 hour, in milliseconds if (@autoattack) { set @autoattack, 0; stopnpctimer; detachnpctimer; } end;} Try this one.
-
IP checker. kick 5 accounts with same IP in same MAP
jaBote replied to karazu's question in Script Requests
Script seems to work in a 2013-11-15 revision without problems. The head line of the script needs the groups of parameters to be separated by tabulation spaces instead of regular spaces: - script Sample -1,{OnPCLoadMapEvent:if( strcharinfo(3) == .Map$ ){query_sql( "SELECT `last_ip` FROM `login` WHERE account_id="+getcharid(3)+"",.@IP );query_sql( "SELECT `account_id` FROM `login` WHERE last_ip="+.@IP+"",.@Accountlist );for( set .@i,0; .@i < getarraysize( .@Accountlist ); set .@i,.@i + 1 ) if( isloggedin( .@Accountlist[.@i] ) ) set .@DetectedOnline,.@DetectedOnline + 1; if( .@DetectedOnline > .Limit ){ mes "We detected there is "+.@DetectedOnline+" Users with same IP Logged in."; mes "Please log off these unused account."; close2; warp "prontera",155,181; }}end;OnInit:// How many User with Same IP can logged in and stay at the specific mapset .Limit,2;// What map will be restrictedset .Map$,"payon";setmapflag .Map$,mf_loadevent;end;} It also seems fine. Not optimised but that still should work in Hercules. -
Not possible in scripting engine as far as I know. Most similar thing I know is by using an item with the following script: bonus bHPrecovRate,n;bonus bSPrecovRate,n; With n = 100. But well, this ony works for item scripts...
-
We don't deny basic support to rAthena users, but we can't provide full support to them mainly because of the big differences there are between rAthena and Hercules. Hence, here we provide the best support we can, but it simply may not be suitable to rAthena emulators. What error do you get on that item script Imbecile? P.S.: moving to database requests since this is idem db request.
-
Since we are using the original kRO client, they come in Korean by default. They usually get added if we can rip their international counterparts and/or someone in the community translates and releases them.
-
Maybe that Versus script is in your custom folder and added by you, but it's just in the same file as another NPC.
-
Q> Is it possible to make the TCG card into cosumable/usable item?
jaBote replied to khenma's question in General Server Support
I edited my previous post to elaborate a bit more. Hope you understand now! -
Q> Is it possible to make the TCG card into cosumable/usable item?
jaBote replied to khenma's question in General Server Support
If I remember well, the cash points and kafra points were stored in the account-variables named #CASHPOINTS and/or #KAFRAPOINTS, so the item script should be like this: set #CASHPOINTS, #CASHPOINTS + 1; Or, equivalently, like whichever one of the following lines you prefer: #CASHPOINTS = #CASHPOINTS + 1;#CASHPOINTS += 1;#CASHPOINTS++; Yeah, all lines here mean the same code, just pick only one, the one you'd prefer to use more. -
Your NPC called 'Versus' is trying to delete some items an user doesn't have, then making that error appear. I'd suggest changing the delitem 7420,10; On the source of that NPC for something like this: // Rest of NPC hereif ( countitem(7420) > 10 ) { delitem 7420,10; }else if ( countitem(7420) > 0 ) { delitem 7420, countitem(7420); }// Rest of NPC here This way, the error should be gone.
-
Try to use specialeffect and/or specialeffect2 script commands for that:
-
You'd have to edit your GRF files for doing that. Just navigate through the GRF until you find the files, then edit them yourself (or, if not available in your GRF, make your own files then add them to your GRF) and, if you're having a live pserver, launch the changes on a patch. Sadly, I can't help you much more on this since I don't know where these sprites are. Since this is more of a Client-side request, II hope that you won't minf if I move this topic to the appropriate forum.
-
This is what happens when I try to remember file names out of memory. This is the file: https://github.com/HerculesWS/Hercules/blob/master/npc/guild/agit_main.txt
-
And execute them on your SQL database.
-
Hi. That means you have new updates available in your sql-files/updates folder. You should apply them to your database for assuring you won't be experiencing any possible SQL errors runtime.
-
What are your map server and server IP on conf/map_server.conf conf/char_server.conf? They should point to your VM IP, not be commented or point to 127.0.0.1