No Dedimania Records

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

Post Reply
sAsCh-A
cyclist
cyclist
Posts: 43
Joined: 21 Nov 2008 22:48
Owned TM-games: TMUF
Location: Germany, Bochum
Contact:

No Dedimania Records

Post by sAsCh-A » 21 Nov 2008 22:52

Hi!

Today i have seen that's no Dedimania Records were avaible on my Server.

I habe nothing changes...

Here the part of the Log
[11/21,23:42:20] ************* (Dedimania) *************
[11/21,23:42:20] * Dataserver connection on Dedimania ...
[11/21,23:42:20] * Try connection on http://dedimania.net:8011/Dedimania ...
!!!
!!! Error bad database response or contents (200, OK)
!!!
[11/21,23:42:20] ------------- (Dedimania) -------------
Has anyone an Idea?
@ 11/21,16:23:53 Anything was fine

biloudeprovence
road tourist
road tourist
Posts: 82
Joined: 24 Jul 2008 09:49
Owned TM-games: TMU

Re: No Dedimania Records

Post by biloudeprovence » 21 Nov 2008 23:25

yop the exactly same problem tonight to my server

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: No Dedimania Records

Post by Slig » 22 Nov 2008 01:16

No particular reason. without server login, eventually server ip, and perhaps map uid and gamemode, i have nothing to look at and eventually test...

edit: try to increase the $dedi_debug value in beginning of plugin.dedimania.php , so you will have the received message contents, and it will probably help to understand the problem.

Xymph
Pit Crew
Pit Crew
Posts: 5706
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: No Dedimania Records

Post by Xymph » 22 Nov 2008 10:28

Slig wrote:No particular reason. without server login, eventually server ip, and perhaps map uid and gamemode, i have nothing to look at and eventually test...
That is irrelevant.

The problem is that you unilaterally changed something in the Dedimania interface without informing plugin authors. XAseco's Dedi plugin works with this list of access URLs:

Code: Select all

                <url>
                        <url.0>http://dedimania.net:8006/Dedimania</url.0>
                        <url.1>http://dedimania.net:8007/Dedimania</url.1>
                        <url.2>http://dedimania.net:8011/Dedimania</url.2>
                        <url.3>http://dedimania.net:8012/Dedimania</url.3>
                        <url.4>http://dedimania.net:8013/Dedimania</url.4>
                        <url.5>http://dedimania.net/RPC4/server.php</url.5>
                </url>
For normal operations (retrieving/sending records, player joins/leaves, etc) one of the first five URLs is randomly picked, but for the initial connect, the last URL is used. That's how we agreed earlier this year that I should build the plugin.

So now that you block that last URL from any requests other than the help page, the error message in the first post is produced during XAseco/Dedimania startup. The same problem may occur in other controllers' plugins that used mine as the starting point.

I don't know what the right solution could be. Personally I prefer not being forced to issue a new XAseco release because you changed the interface. :wink: But I also understand the reason that made you implement that change. Perhaps you can completely block any controller that uses that last URL for normal operations, leaving it only for the initial connects and the help page like before. That forces the author(s) of the abusing controller(s) to fix the stuff on their end, instead of putting the burden on authors that adhered to the original spec.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

Pesky
smooth traffic navigator
smooth traffic navigator
Posts: 262
Joined: 19 Mar 2008 16:25
Owned TM-games: TMN, TMUF
Manialink(s): rrmania
Contact:

Re: No Dedimania Records

Post by Pesky » 22 Nov 2008 11:03

I removed the last URL in the config and the connect to the Databse works fine again. But i dont know if it breaks something else. So far i didnt noticed anything....

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: No Dedimania Records

Post by Slig » 22 Nov 2008 11:10

Xymph wrote:The problem is that you unilaterally changed something in the Dedimania interface without informing plugin authors. XAseco's Dedi plugin works with this list of access URLs:

Code: Select all

                <url>
                        <url.0>http://dedimania.net:8006/Dedimania</url.0>
                        <url.1>http://dedimania.net:8007/Dedimania</url.1>
                        <url.2>http://dedimania.net:8011/Dedimania</url.2>
                        <url.3>http://dedimania.net:8012/Dedimania</url.3>
                        <url.4>http://dedimania.net:8013/Dedimania</url.4>
                        <url.5>http://dedimania.net/RPC4/server.php</url.5>
                </url>
For normal operations (retrieving/sending records, player joins/leaves, etc) one of the first five URLs is randomly picked, but for the initial connect, the last URL is used. That's how we agreed earlier this year that I should build the plugin.
It was a misunderstand then : the last one is supposed to be eventually used only for test and rescue purpose. At least i did not though it would break xaseco or other script statup. :?
I did not though than one of the devs who had previously contacted me for dedimania was using it, else i would not have disable it. I have put it back.
Btw for future release pleases don't use it anymore, so in future (some monthes) i will be able to disable it without breaking supported scripts.

Anyway... there are 6 times more connected servers than at beginning xaseco support, so when the server load make anormal response delays i have to search solutions, or else nothing will work at all.

sAsCh-A
cyclist
cyclist
Posts: 43
Joined: 21 Nov 2008 22:48
Owned TM-games: TMUF
Location: Germany, Bochum
Contact:

Re: No Dedimania Records

Post by sAsCh-A » 22 Nov 2008 11:24

11/22,12:27:52] ************* (Dedimania) *************
11/22,12:27:52] * Dataserver connection on Dedimania ...
11/22,12:27:52] * Try connection on http://dedimania.net:8011/Dedimania ...
11/22,12:27:53] Webaccess (dedimania.net:80): send: deflate, receive: gzip
11/22,12:27:53] * Connection and status ok! :)
11/22,12:27:53] * NEWS (Dedimania, 08/05): news
11/22,12:27:53] ------------- (Dedimania) -------------
Nothing Changed.. Works fine again

Xymph
Pit Crew
Pit Crew
Posts: 5706
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: No Dedimania Records

Post by Xymph » 22 Nov 2008 13:00

Slig wrote:
Xymph wrote:For normal operations (retrieving/sending records, player joins/leaves, etc) one of the first five URLs is randomly picked, but for the initial connect, the last URL is used. That's how we agreed earlier this year that I should build the plugin.
It was a misunderstand then : the last one is supposed to be eventually used only for test and rescue purpose. At least i did not though it would break xaseco or other script statup. :?
Now you have a selective memory. :P On April 29 we discussed this in several emails, you wanted me to use the apache (server.php) link for the first ValidateAccount request, and :800x URLs for all subsequent requests. There was no mention that this would be only for test/rescue purposes, and you even said "Probably i do the same" in FAST. So that's how I modified my plugin for XAseco's v0.97 release on May 1. :wink:
Slig wrote:I did not though than one of the devs who had previously contacted me for dedimania was using it, else i would not have disable it. I have put it back.
Thanks.
Slig wrote:Btw for future release pleases don't use it anymore, so in future (some monthes) i will be able to disable it without breaking supported scripts.
So what's the "new" approach? Returning to the old approach of randomly picking one of the :80xx URLs for the initial connect/validate and all subsequent requests?
Slig wrote:Anyway... there are 6 times more connected servers than at beginning xaseco support, so when the server load make anormal response delays i have to search solutions, or else nothing will work at all.
True, I understand.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: No Dedimania Records

Post by Slig » 22 Nov 2008 15:31

Xymph wrote:Now you have a selective memory. :P On April 29 we discussed this in several emails, you wanted me to use the apache (server.php) link for the first ValidateAccount request, and :800x URLs for all subsequent requests. There was no mention that this would be only for test/rescue purposes, and you even said "Probably i do the same" in FAST. So that's how I modified my plugin for XAseco's v0.97 release on May 1. :wink:
Not selective, but just a bad memory, that's right :? btw it was several monthes ago... :roll:

I remembered why we made that just before coming back here and read your post : it is to avoid to have first connection with wrong login/pass make timeout on all others. And that was a good thing indeed...

My actual problem is that using http://dedimania.net/RPC4/server.php permanently is very bad.

Finally the good way is probably to use http://dedimania.net/RPC4/server.php only at first connection, and after use only :80xx ones.
I updated this info on the help page and in the Dedimania forum (i added there a new forum for scripts using dedimania). Here is a copy about it :
* The first script query should be on the main url http://dedimania.net/RPC4/server.php , because if the account was not authenticated successfully then on http://dedimania.net:80xx/ ones it could make timeouts, slowering the other scripts/clients requests responses..

* Next script queries (once successfully authenticated!) should be made on the http://dedimania.net:80xx/ urls, because these ones use far less server ressources than the main one. You have to contact me at Slig or on the Dedimania forum to both tell me that you are going to use Dedimania for your script, and to know what url you should use.

Note that later the main url will reply only to dedimania.CheckConnection, dedimania.GetVersion, dedimania.Authenticate and dedimania.ValidateAccount methods !
The main url will finally continue to reply to all methods at least until the beginning of next year.

Xymph
Pit Crew
Pit Crew
Posts: 5706
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: No Dedimania Records

Post by Xymph » 23 Nov 2008 11:13

Slig wrote:Not selective, but just a bad memory, that's right :? btw it was several monthes ago... :roll:
Okay, bad... have it your way. :P
Slig wrote:I remembered why we made that just before coming back here and read your post : it is to avoid to have first connection with wrong login/pass make timeout on all others. And that was a good thing indeed...

My actual problem is that using http://dedimania.net/RPC4/server.php permanently is very bad.
Agreed. So punish the badly written controllers/plugins, rather than all of them.
Slig wrote:Finally the good way is probably to use http://dedimania.net/RPC4/server.php only at first connection, and after use only :80xx ones.
[...]
The main url will finally continue to reply to all methods at least until the beginning of next year.
Thanks.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: No Dedimania Records

Post by w1lla » 23 Nov 2008 11:42

Hmm punish them there are 3 other rip offs and i dont know how calsmurf approached slig but if the interface/plugin is the bad key i will make an own version off it.

Dont know the thoughts of slig or Xymph about this one.

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

User avatar
chiusam
wheelbarrow operator
wheelbarrow operator
Posts: 18
Joined: 27 Aug 2008 05:05
Owned TM-games: TMUF
Contact:

Re: No Dedimania Records

Post by chiusam » 25 Nov 2008 03:57

hi
You can join the line of command

Code: Select all

<url.6>http://dedimania.net:8003/Dedimania</url.6>
My current record is the normal work of the. :1
Image
ΞМЯΞ Nadeo 0-50K
ΞМЯΞ TMX 20K-70K

Xymph
Pit Crew
Pit Crew
Posts: 5706
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: No Dedimania Records

Post by Xymph » 25 Nov 2008 08:41

chiusam wrote:You can join the line of command

Code: Select all

<url.6>http://dedimania.net:8003/Dedimania</url.6>
No no, that port is reserved for another controller, and it certainly shouldn't be listed as the last entry in the list either (the server.php URL should remain last, as noted in the dedimania.xml comments).
chiusam wrote:My current record is the normal work of the. :1
Uhh, the what?
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

Post Reply