Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Server Description (Login) (https://forums.graalonline.com/forums/showthread.php?t=134258708)

Nataxo 04-09-2010 06:46 PM

Server Description (Login)
 
Hello. I'm trying to change a server's description (Login page, or F8, top box.)

Stefan says they are login files, but I've no clue where or how to change that o.o'

Codein 04-09-2010 06:58 PM

Are you sure he doesn't mean files on the login server?

Nataxo 04-09-2010 07:03 PM

Proably xD. though it's ok now, Rufus is helping.

http://forums.graalonline.com/forums...ad.php?t=66016

Matt 04-10-2010 06:39 PM

I've been looking for that also, thanks. That code should go in the code gallery.

Skyld 04-10-2010 06:46 PM

Quote:

Originally Posted by Matt (Post 1568352)
I've been looking for that also, thanks. That code should go in the code gallery.

Moved it.

Deas_Voice 05-07-2010 09:15 PM

i'd like to revive this thread because this seems not to be working for Aeon.
also the thread should be sticked'

(no this thread, the thread nataxo posted)

cbk1994 05-07-2010 10:04 PM

Quote:

Originally Posted by Deas_Voice (Post 1574677)
i'd like to revive this thread because this seems not to be working for Aeon.
also the thread should be sticked'

(no this thread, the thread nataxo posted)

It definitely works.

Deas_Voice 05-07-2010 10:43 PM

Quote:

Originally Posted by cbk1994 (Post 1574687)
It definitely works.

for a classic server perhaps; but it doesn't seems to be working even when i rawcopy and paste the script (shame on me, i know).

perhaps its not for hosted anymore?

cbk1994 05-07-2010 10:45 PM

Quote:

Originally Posted by Deas_Voice (Post 1574697)
for a classic server perhaps; but it doesn't seems to be working even when i rawcopy and paste the script (shame on me, i know).

perhaps its not for hosted anymore?

More likely you're doing something wrong. Hosted servers have had descriptions in the past.

Deas_Voice 05-07-2010 10:50 PM

Quote:

Originally Posted by cbk1994 (Post 1574698)
More likely you're doing something wrong. Hosted servers have had descriptions in the past.

hmm, ok, well, that's odd.

does the name of the bot have to be "EventBot_<insertServerNamehere> and nothing else?

cbk1994 05-07-2010 11:00 PM

Quote:

Originally Posted by Deas_Voice (Post 1574700)
hmm, ok, well, that's odd.

does the name of the bot have to be "EventBot_<insertServerNamehere> and nothing else?

Yes.

Deas_Voice 05-07-2010 11:09 PM

Quote:

Originally Posted by cbk1994 (Post 1574705)
Yes.

then that's not the problem. :\
i had it as EventBot_Aeon2 but i got access to the script that controlled "Eventbot_Aeon", but that didn't change anything..

cbk1994 05-07-2010 11:17 PM

Quote:

Originally Posted by Deas_Voice (Post 1574707)
then that's not the problem. :\
i had it as EventBot_Aeon2 but i got access to the script that controlled "Eventbot_Aeon", but that didn't change anything..

We can't help you if you don't post the code.

napo_p2p 05-07-2010 11:20 PM

Quote:

Originally Posted by Deas_Voice (Post 1574707)
then that's not the problem. :\
i had it as EventBot_Aeon2 but i got access to the script that controlled "Eventbot_Aeon", but that didn't change anything..

That's probably an ancient IRC EventBot thingy. I'll fix it when I get home from work tonight.

cbk1994 05-07-2010 11:33 PM

Also possible it needs to be "AEON" and not "Aeon".

Deas_Voice 05-07-2010 11:37 PM

Quote:

Originally Posted by cbk1994 (Post 1574713)
Also possible it needs to be "AEON" and not "Aeon".

urgh, my bad i guess, i didnt think it had to be uppercase..

i guess that would do the trick. *goes and tests in shame*

edit: chris, get off the irc please... i cant seems to rename the channel if a player is in it.

Deas_Voice 05-08-2010 12:46 AM

Quote:

Originally Posted by napo_p2p (Post 1574710)
That's probably an ancient IRC EventBot thingy. I'll fix it when I get home from work tonight.

good to hear, but i'm interested to get this working ASP.
the script doesnt look too old, but you made it very messy imo.


Quote:

Originally Posted by cbk1994 (Post 1574709)
We can't help you if you don't post the code.

PHP Code:

function onCreated() doConnect();
function 
onInitialized() doConnect();
function 
onServerListerConnect() doConnect();
function 
doConnect()
{
  
//sendtext("irc", "logout", "");
  
sendtext("irc""login""EventsBot_AEON");
}

function 
onReceiveText(texttypetextoptionstextlines) {  
  if (
texttype != "irc" || textoptions != "privmsg") return;

  switch (
textlines[2][0]) {
    case 
"!eventsbotlogin": {
      
sendtext("irc""privmsg", {"IRCBot", {"!eventadmins", {"acc""acc"}}});
      
sendtext("irc""privmsg", {"IRCBot", {"!eventchannel""#channel"}});
      
      
// tell the serverlist that you are serving serverlist info
      
sendtext("irc""privmsg", {"IRCBot", {"!handleserverinfo"1}});

      break;
    }

    
// called whenever anybody clicks the server on the serverlist
    
case "!getserverinfo": {
      
temp.list = {
        
"<center>",
        
"<font size=24>Aeon</font><br>",
        
"<img src=login_server_aeon.png><br>",
        
"</center><sbreak>",
        
"<ignorelinebreaks>",
        
"Aeon is a world with 4 words in one."
      
};
      
sendtext("irc""notice", {textlines[0], {"!serverinfo"temp.list}});

      break;
    }
  }


this is pretty much the same script as skyld posted...

and i dont see why this wouldnt work, if you are sure that hosted can have this type of thing still.

cbk1994 05-08-2010 01:15 AM

Quote:

Originally Posted by Deas_Voice (Post 1574714)
edit: chris, get off the irc please... i cant seems to rename the channel if a player is in it.

The channel name doesn't matter. It doesn't even need to join a channel.

Deas_Voice 05-08-2010 01:20 AM

Quote:

Originally Posted by cbk1994 (Post 1574742)
The channel name doesn't matter. It doesn't even need to join a channel.

yeah i figured that, since not all servers have a irc.


All times are GMT +2. The time now is 04:44 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.