Offline invitation script :3

Cabrera

New member
Messages
81
Points
0
Age
30
Location
Under Your Bed~
Emulator
Hercules
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.png
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
default_tongue.png
)

Thnx in advance ! Posted this in rA but its practically dead for no reason
default_sleep.png


Bump

 
Last edited by a moderator:
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 ?

 
Last edited by a moderator:
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
default_smile.png


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

 
Last edited by a moderator:
sql table

create table guild_invite (id int(11) unsigned primary key auto_increment,char_id int(11) unsigned,guild_id int(11) unsigned,key (char_id),key (guild_id),unique (char_id,guild_id)) engine = innodb;source modificationhttp://upaste.me/648510601a30ea563

and the script

http://upaste.me/a50910600302d4ea5

EDIT: oh wait, 100th post !

 
Last edited by a moderator:
sql table

create table guild_invite (id int(11) unsigned primary key auto_increment,char_id int(11) unsigned,guild_id int(11) unsigned,key (char_id),key (guild_id),unique (char_id,guild_id)) engine = innodb;source modificationhttp://upaste.me/648510601a30ea563

and the script

http://upaste.me/a50910600302d4ea5

EDIT: oh wait, 100th post !
when it comes to source mod im always getting this kind or error... i hope you help me

24gvlzr.jpg
you either didn't applied the patch or compiled the server after it

 
i always did ... hmmm is there really a unique (char_id,guild_id
default_ohmy.png
 i miss that THING!!!!!!!!whaaaat.. how to do this unique (char_id,guild_id)?

 
What happen if 2 or more guild invites him? at the same time he is offline ?

Also are the command are available on the person who has invite powers on the guild?

 
Last edited by a moderator:
What happen if 2 or more guild invites him? at the same time he is offline ?
then type @invitelist to show all the guilds that has invited you.

.

Also are the command are available on the person who has invite powers on the guild?
only @guildinvite available to guild master
 
Back
Top