![]() |
Accessing data from login2
I'd imagine it takes trust from stefan and permission, but this is what I'd need to translate specific global guild info per players request on a server correct? Is there any info on this stuff?
|
You can request some stuff, i.e.
HTML Code:
temp.response = sendListerRequest("checkguildexists", temp.gName); |
Quote:
|
Thanks yall. :)
|
Oh yeah, we made this together at skyld haha
HTML Code:
function sendListerRequest(temp.option, temp.params) { |
Im probably going to end up asking this later so I'll just ask now. Is there a way to communicate with the server that guilds are stored on to send and recieve info. Of coarse, rights and such still applying. I just don't know where to even start which is why I'm asking.
|
Here are some links
http://wiki.graal.net/index.php/Crea...v/Graal_v4_IRC This explains how to use sendText http://forums.graalonline.com/forums...hp?t=134258222 A list of sendText stuff HTML Code:
sendText( "lister", "checkinguild", { str accountname, str guildname } ); - returns the players nick in the guild and the players guildrank - also returns if the guild is pending ! |
Appreciated. :)
|
I know this is a pretty old thread now, but I did have more questions.
So to use sendtext, even to just get info on guilds, I have to go through logging in on a dbnpc or wnpc serverside with an ircbot? |
Quote:
IRCBots just use the sendtext function to communicate in the channel. |
I know I'm not getting it, but here's what I got that doesn't work.
Ive simply tried PHP Code:
I also tried in that same function putting PHP Code:
PHP Code:
|
Quote:
|
There won't be a player accessible in that scope, use the function they provided above instead. Example:
PHP Code:
|
Ok, so I need to break up the return data to check and print it out, and I've tried all I could think of, but its not go. Is it passible to client at all?
Ive tried doing PHP Code:
Iv also done PHP Code:
When i echo the last one i posted, its all fine, just need to send it off to client. |
Just to add it also will not let me set them as a clientr.var either. Does this information just show up and that's the end of it?
|
Bump. How exactly am I supposed to use this? Is the only way to do checks in the function itself and thats it, with no way to parse or chop up the returned information?
|
Bump. Anyone?
|
I know I'm reviving an old thread, but I never finished this and was just wondering if the previous options are still the only options.
I'm really just trying to make some in-game guild control, but obviously for global guilds. Don't know if anyone knows if you can have access to the literal "ranks" possibly set players ranks, edit public guild info, ect? |
I don't think Stefan ever added sendtext commands for that stuff. If he did, I never saw him post any documentation on it.
|
found this
Quote:
|
yeah the sendtext for returning stuff will still be helpful, but I'd rather integrate it with the global guilds completely with in-game control than to have to make server specific systems to compliment it.
Maybe stefan will chime in? I haven't really seen anything about it either which usually means not theres not a way, but you never know I guess... |
| All times are GMT +2. The time now is 12:25 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.