The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UOG Poller
Author Message
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #11
RE: UOG Poller
well this was the reply. does anyone know of anything that could be causing this? can you guys try to ping me? see if its maybe just me and not his poller.

Code:
Hmm I wonder if it does not support the packet that is used.  


Code: [Select]
[Feb-13-2013 03:41:57am] Connecting to The Chaos Realm [thechaosrealm.no-ip.org:2593] (Attempt 1)

[Feb-13-2013 03:41:57am] Connected, sending stats packet...

[Feb-13-2013 03:42:09am] Time out exceeded while waiting for response

[Feb-13-2013 03:42:09am] Connecting to The Chaos Realm [thechaosrealm.no-ip.org:2593] (Attempt 2)

[Feb-13-2013 03:42:09am] Connected, sending stats packet...

[Feb-13-2013 03:42:22am] Time out exceeded while waiting for response

[Feb-13-2013 03:42:22am] Connecting to The Chaos Realm [thechaosrealm.no-ip.org:2593] (Attempt 3)

[Feb-13-2013 03:42:22am] Connected, sending stats packet...

[Feb-13-2013 03:42:34am] Time out exceeded while waiting for response

[Feb-13-2013 03:42:34am] Updating graphs for The Chaos Realm



Check on the Sphere site/forums to see if there is a mod, or maybe it's something you enable.   The packet used is standard to RunUO but not sure about the other emulators.

he replied back with this in conclusion, can we take a look at this on our end? i'd desperately like to get this working on uogateway. i'm a wreck with packets and always break things.


Quote:If there is no such mod I guess it's something I'd have to look at making some day, though I have zero experience with Sphere. Information on the packet can be found here if you want to try adding the support yourself: http://www.uogateway.com/forum/index.php/topic,4.0.html
« Last Edit: Today at 03:50:28 AM by Red Squirrel »
(This post was last modified: 02-13-2013 07:06 PM by Soulless.)
02-13-2013 06:51 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #12
RE: UOG Poller
Ok, I checked it out, it's a Sphere lack of support.

From what I can see, back when it first came out, UOG was an app that sent an 0x22 or 0xFF one byte packet.
Now it appears to be just a website? or is there an app still?
But now it is sending a new packet (0x7F 0x00 0x00 0x7F 0xF1 0x00 0x04 0xFF)
I'll have to look into it some more.

Has anyone tried packet filtering that?

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
02-14-2013 09:49 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #13
RE: UOG Poller
Yes Ben to the rescue. This is now just a website at uogateway.com, how can i help make this work? anything you need me to do?


(I still use your House System btw! even after making my own i've prefered your old t2a style house system)
02-14-2013 10:15 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #14
RE: UOG Poller
Didn't even know ben had a house system.

[Image: 2nis46r.jpg]
(This post was last modified: 02-14-2013 10:31 AM by Mordaunt.)
02-14-2013 10:25 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #15
RE: UOG Poller
Nice to see that house system still being used Smile
Right now, there is nothing that I can think of other then possibly doing a packet filter for an 0x7F packet.
I guess I'll have to create an account on UOG to test Smile

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
02-14-2013 02:40 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #16
RE: UOG Poller
Oh yes, its my favorite house system lol.

I'm not so good with packets, and i guess i don't know how to filter for them either. complete noob. i'll read up on them. i'll keep my eyes peeled on here for updates. Thanks so much for jumping in Ben!
02-14-2013 02:57 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #17
RE: UOG Poller
Pfft.. clearly you haven't used mine [/shameless plug]
lol

[Image: 2nis46r.jpg]
02-15-2013 12:23 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #18
RE: UOG Poller
Lol im just nostalgic about bens Smile i was an utter noob when he bestowed it upon me.
02-15-2013 04:27 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #19
RE: UOG Poller
I don't think I have ever even seen Ben's house system. First one I really used was Amlaruil's I beleive.

[Image: 2nis46r.jpg]
02-15-2013 04:39 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #20
RE: UOG Poller
UOG has a poller app which sends a special packet to the UO server to gather data.

The packet sent is shown below:
Your server should be coded to accept this packet and handle it accordingly. (this should be built into RunUO, not sure about other servers)


tcpquery.WriteInt8(0x7f);
tcpquery.WriteInt16(0x00);
tcpquery.WriteInt8(0x7f);
tcpquery.WriteInt8(0xf1);
tcpquery.WriteInt8(0x00);
tcpquery.WriteInt8(0x04);
tcpquery.WriteInt8(0xff);

The response should be a null terminated string something like this:

Code: [Select]
RunUO, Name=shardname, Age=226, Clients=2, Items=450725, Chars=22697, Mem=493189K

Here is the source code, red squirell just posted it up for us

Code:
    Debug("Connected, sending stats packet...");

            BitStream tcpquery;
            
            tcpquery.WriteInt8(0x7f);
            tcpquery.WriteInt16(0x00);
            tcpquery.WriteInt8(0x7f);
            tcpquery.WriteInt8(0xf1);
            tcpquery.WriteInt8(0x00);
            tcpquery.WriteInt8(0x04);
            tcpquery.WriteInt8(0xff);
            
            client.SendBitStream(tcpquery);
            client.SetBlockingMode(true);
            
            string Response="";
            string tmpchar="";
            
            if(!client.RecvUntilChar(Response,0x0,5000,100000))
            {
                Debug("Time out exceeded while waiting for response");
                continue;
            }
            else Debug("Response receved: " + Response);


also i sent him what we are looking for so he can add support for us on his end with the old packet sphere is looking for, that way any old servers will get the information appropriately
(This post was last modified: 02-15-2013 08:23 AM by Soulless.)
02-15-2013 07:34 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)