-
Content Count
81 -
Joined
-
Last visited
-
Days Won
4
Posts posted by Cabrera
-
-
Hello guyz, just wondering if i could give a gift to the player once he reaches the second job through the original job quests. So wat shld i do? Shld i use getitem command? Plz help thx
Bewmp
-
Thx alot annie and congratz for ur 100th post xD
-
Hey im using windows 8 too. Just click opensetup and disable full screen and choose any of the screen sizes given in the list of the setup and click ok. It will start working.When i was testing on the user computer using teamviewer . it just got closed, without send errors evry time that i try to execute the client.
The compute have
Windows 8 Profesional 32bits
Im using the clients from this listhttp://k3dt.eu/Ragexe/unpacked/
exactly 2013-06-05Ragexe.exe.zip
Thanks for you reply !
PD: Windows 7 and XP the client works good
-
rAthena isn't dead yet,
but its truth that over here has more helpful scripters (in rA its always answered by same person ...)
I think your request probably needs source modification
especially we don't have a script command like *guildjoin .. something like that
so you need 3 custom commands
@guildinvite
@guildaccept
@guildreject
@guildinvite and @guildreject can simulate with *bindatcmd
but @guildaccept must touch the source at least for having a *guildjoin script command
actually ... its much better to write this entirely inside atcommand.c
the problem is, I can write this easily and cope with hercules emulator
but you are using ramod so ... you have to figure out how to convert into ramod
so ...
you want bindatcmd version or atcommand.c version ?
Hey again annie! <3, I think bindatcmd is simpler and works on that mod too xD thnx in advance
The only thing about bindatcmd is the groups.conf doesnt recongnise it but it works ingame. funny lol i donno if its ramods buggy server files or is it the way rA's conf works
a good example is his @joinbg thing
it says [Error] Unidentified @ command. Removing...
But still it works ingame xD
-
Hey all just wondering if its posibble to invite people to a guild even if he/she is offline?
When the player invited cms online this is the mesage he gets: The guild "xxx" has invited you to join them. To accept type /accept or to reject type /reject along with the guildname.
This should be a mesage in a diferent colour so that the player cn easily see it.
It should not be a pop up coz then ths wld iritate players if too many invitations are sent to them.
The guild name is also required to accept. Example /accept xxx thx guys
http--,,--//rathena.org/board/public/style_emoticons/default/ohmy.png [/url]]
(im using rA's mod btw(if it has anything to do with rA's script syntax changes), i fixed all its buggy shit courtesy of the original eamod so i aint got the heart to leave it )
Thnx in advance ! Posted this in rA but its practically dead for no reason
Bump
-
OMG D: this patch just made me chain myself to hercules xD awesome Ind D: too good <3
-
Hey guyz can i ask how to add Multiple auras? i mean for 1 aura its auraeffect / auraring but for the others? should i add like auraeffect1/aura ring1 and so on or is there some other way D:
-
its not the same, but the script commands can easily port over
honestly, when I wrote the bg queue system, the queue is done in npc script, not in the source
http://rathena.org/board/topic/78493-help-in-battleground-script/?p=178573
Cool annie D: is it compatible with hercules? i mean should i use that battleground.diff for the setbgid? thx alot ! :)
-
Ah k
-
Cute design
-
Hey all i will be trying to input the bg queue system (@joinbg) and just wanted to know if hercules Battleground.c and .h is the same as rAs? (if its true then i can begin xD if it isnt then i cant do it for now T_T
-
a bit off-topic butyeah, 1 of the reason I move here because in hercules already has some powerful scripters around :Pthe only thing that jabote missed out is missing setmapflagI posted here cuz im a Fan of annie and shes here so plz annie help me xD Any 1 else can also help cuz i really need this one :P
- script warp_banned -1,{OnInit: setarray .not_2ndjob$[0], "morocc", "payon", "aldebaran"; // Maps NOT for second jobs. Add more with a comma, last member should have a semicolon setarray .not_3rdjob$[0], "amatsu", "gonryun", "geffen"; // Same as above, but for third jobs .not_2ndjob_size = getarraysize(.not_2ndjob$); .not_3rdjob_size = getarraysize(.not_3rdjob$); for ( .@i = 0; .@i < .not_2ndjob_size; .@i++ ) setmapflag .not_2ndjob$, mf_loadevent; for ( .@i = 0; .@i < .not_3rdjob_size; .@i++ ) setmapflag .not_3rdjob$, mf_loadevent; end;OnPCLoadMapEvent: if ( eaclass() & ( EAJL_UPPER | EAJL_2 ) ) { // Player is 2nd trans job while ( strcharinfo(3) != .not_2ndjob$[.@i] && .@i < .not_2ndjob_size ) .@i++; } else if ( eaclass() & EAJL_THIRD ) { // Player is the 3rd job while ( strcharinfo(3) != .not_3rdjob$[.@i] && .@i < .not_3rdjob_size ) .@i++; } else end; if ( .@i != .not_2ndjob_size || .@i != .not_3rdjob_size ) { dispbottom "You're not supposed to be here..."; warp "SavePoint",0,0; } end;}
... hmm .. why this {code} doesn't has cut the length ...edit ... oh ... have to refresh the page =/So sorry for the late reply but annie may i ask? Should i set the mapflag in the mapflag folder or this script already sets is? Since i see a line mf_loadevent so it initiates the loadevent? Thx again
@jabote
Thank you for ur reply sir, it really helped me cuz i wanted to implement 3rd jobs in sucha. Way that they dont clash with 2nd jobs (during woe,pvp etc) and vice versa for trans thx again <3
-
If I were you, I'd just get rid of the item since you could try to cheat your way off the restrictions while using the class renders these cheats impossible. You could still give the item for the fun if you want, but do the checks based on the job.
Keeping on the processor-intensive idea of using the loadevent mapflag on each map you want to restrict and add them to its respective list, for restricting 3rd jobs or 2nd trans jobs you should use bitmasks, which is minor magic but makes the restriction easier:
- script warp_banned -1,{OnInit: setarray .not_2ndjob$[0], "prontera", "payon", "aldebaran"; // Maps NOT for second jobs. Add more with a comma, last member should have a semicolon setarray .not_3rdjob$[0], "amatsu", "gonryun", "geffen"; // Same as above, but for third jobs end;OnPCLoadMapEvent: if ( eaclass()&(EAJL_UPPER|EAJL_2) ) { // Player is 2nd trans job for (set .@i,0; .@i < getarraysize(.not_2ndjobs$); set .@i, .@i + 1){ if (strcharinfo(3) == .not_2ndjobs$[.@i]){ dispbottom "You're not supposed to be here..."; warp "SavePoint",0,0; } } } else if ( eaclass()&EAJL_THIRD ) { // Player is the 3rd job for (set .@i,0; .@i < getarraysize(.not_3rdjobs$); set .@i, .@i + 1){ if (strcharinfo(3) == .not_3rdjobs$[.@i]){ dispbottom "You're not supposed to be here..."; warp "SavePoint",0,0; } } } end;}
Again, I haven't tested it but should work as expected.
If you want to make custom mapflags for checking if somebody is 2nd trans or 3rd job, then it's a source request and it's beyond my abilities ATM .
Thx solved ill checkout the bitmast thing i think i saw emistry have one script so yea thx for the advice sir it helped Alot!
-
The solution is there, but it's quite processor intensive to be honest.
Just add loadevent mapflags to all the cities you want to restrict the warps in, and make a NPC that should be much like this:
http://upaste.me/54a9103646ac0b102 (I haven't tested it but it should work)
- script warp_banned -1,{OnInit: setarray .not_2ndjob$[0], "prontera", "payon", "aldebaran"; // Maps NOT for second jobs. Add more with a comma, last member should have a semicolon setarray .not_3rdjob$[0], "amatsu", "gonryun", "geffen"; // Same as above, but for third jobs set .item_2ndjob, 1220; // Set your 2nd job item here set .item_3rdjob, 1221; // Set your 3rd job item here end;OnPCLoadMapEvent: if (countitem(.item_2ndjob)) { // Player has the 2nd job item for (set .@i,0; .@i < getarraysize(.not_2ndjobs$); set .@i, .@i + 1){ if (strcharinfo(3) == .not_2ndjobs$[.@i]){ dispbottom "You're not supposed to be here..."; warp "SavePoint",0,0; } } } else if (countitem(.item_3rdjob)) { // Player has the 3rd job item for (set .@i,0; .@i < getarraysize(.not_3rdjobs$); set .@i, .@i + 1){ if (strcharinfo(3) == .not_3rdjobs$[.@i]){ dispbottom "You're not supposed to be here..."; warp "SavePoint",0,0; } } } end;}
Just don't forget to remove the 2nd job token when changing to third!
P.S.: Anyways, scripting lets you know if someone is 2nd or third job, so in my modest opinion that item is just unnecessary mess.
Wow thx for the script sir, about the mess u talked about, is there a possibility for a mapflag to restrict trans jobs from entering a certain town or map? Then i can remove the need of having an item to restric trans jobs from entering the 3rd jobs town. Though i think ill keep the 3rd job item thing. Is this possible? Thanx alot sir
-
Hey guyz i donno if im in the right section but i think it is something to do with scripting :I if not im sorry ,
Ok let me start! Well im trying to configure my server in a way that 3rd jobs cant enter a certain map(town actually) and once a trans job converts to a 3rd job he will be automatically warped to a town example map,x,y and also will recieve a certificate of authorization(LOL its just an item xD nothing to do with this.) from the jobchanger. By this ITEM ( say item 1220?) the 3rd job player cant enter prontera( YEa prontera xD)(is this possible? like to restrict warping to town based on an item?
Also, Once a trans 1st job turns to his 2nd job(example: i mean from trans thief to assassin cross) he also gets an item say 1221? which causes him to NOT warp to the 3rd job town(like i said before map x,y) i mean hes restricted to go there.(Hope this is do able? could u use something like (checkitem == 1221)? Thnx in advance it Would be SO Great if u help me on this
P.S: Hope u understood and i will be using the official rAthena job quests
THnx in advance,
Santafe from rA~
I posted here cuz im a Fan of annie and shes here so plz annie help me xD Any 1 else can also help cuz i really need this one :P
-
Hey guyz issue solved I used capital letters in accname though accid had small case that caused the errors.. now working thx mhalicot and unknown
-
Hey um i have this problem cant seem to find the solution too :
http://i.cubeupload.com/WnRGgA.png
http://i.cubeupload.com/WA2Cvf.png
and my accessoryid doesnt end at 1612 it goes upto 2000+ so i dont see why i should add "}" after the =
>.<
I tried alot of things like putting "," at the end and removing it as well yet this rises. plz help asap ty
-
okz thnx
-
Hey guyz just wondering if Icabit's item builder can be modified for our Item_db structure? cuz its reallyyyy Helpful i mean i finished uploading 1.2k customs in 10 minutes LOL its just the item_db is similar to rathena and eathena so.. just wondering if the structure can be modified? heres the link for the builder plz help if possible : http://rathena.org/board/files/file/2738-icabits-item-builder/
-
oh ok :I
-
Hey guyz just wanted to know if theres an easier way to fill up the accessoryid/accname/iteminfo.lub and item_db cuz i hav like 1.2k custom items wid me which need filling T_T and it might take years T__T so if theres a software or SMTHING plz help suggest :I
Thanks in advance!
-
it just says one line :
"Missing function name or calling undeclared function"
-
but the problem is the chat box doesnt come and i cant click on it. i mean it wont respond even if i click on it :I
-
Thnx Mysterious
About woe controller's announcements.
in Script Support
Posted
Another help :@ is it possible to split woe announcement for both trans and 3rd jobs?
Example.
When 3rd job agit starts, it announces Woe for 3rd jobs has begun! Or smthing like that.
For trans its like Woe has begun for trans jobs!
Thx in advance