Jump to content

Cabrera

Members
  • Content Count

    81
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Cabrera


  1. 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

    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.

  2. 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


  3. 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

    ohmy.pnghttp--,,--//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 :P)

    Thnx in advance ! Posted this in rA but its practically dead for no reason -_-

     

     

    Bump


  4.  

    I posted here cuz im a Fan of annie and shes here :P so plz annie help me xD Any 1 else can also help cuz i really need this one :P :P

    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 setmapflag
    -	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


  5. 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 :D ill checkout the bitmast thing i think i saw emistry have one script so yea thx for the advice sir it helped Alot!


  6. 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 :)


  7. 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 ohmy.png,

     

    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 smile.png

     

    P.S: Hope u understood tongue.png and i will be using the official rAthena job quests smile.png

    THnx in advance,

    Santafe from rA~

     

    I posted here cuz im a Fan of annie and shes here :P so plz annie help me xD Any 1 else can also help cuz i really need this one :P :P


  8. 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! :)

×
×
  • Create New...

Important Information

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