Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old December 15, 2017, 15:27   #21
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,309
PowerWyrm is on a distinguished road
I was tired of the MAngband metaserver being down, so I looked at the TomeNET code to see if I could plug connection to the TomeNET metaserver instead. The format is a bit different:
- for MAngband, server info is given as "server name: port Number of players: n Names: player 1 ... player n Version: v"
- for TomeNET, server info is given as "<server url="server" port="port" protocol="2"><game>...</game><version>v</version><player>player 1</player>...<player>player n</player></server>

When a client connects to the metaserver to receive the list of available servers, the format is quite similar:
- for MAngband, a list of zero-terminated strings with "server" for server names, "%port" for port values and " notice" for anything else
- for TomeNET, a unique xml section "<meta>TomeNET metaserver</meta><server>server info 1</server>...<server>server info n></server>, with server info equal to what's sent from each server to the meta

I've implemented the required parsing to display entries from the TomeNET metaserver, while keeping the current code for the MAngband metaserver, and this part works fine (you can see TomeNET servers with their players, and even select them -- you'll just get a "not a PWMAngband server" error when connecting). The only problem is that I cannot register a PWMAngband server on the meta. No idea if it's because I'm doing that from my laptop which connects via a proxy to the internet, or if it's due to some restrictions on the metaserver, or simply because of a malformed request (I can connect a socket and send stuff, but the code doesn't wait for a reply so I cannot tell if the registration succeeded or not). I'll try that again tonight from my PC at home.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old December 18, 2017, 08:57   #22
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,309
PowerWyrm is on a distinguished road
Doesn't work from my home PC either. This means the metaserver has a strict format and doesn't recognize connections from other than TomeNET games. Oh well...
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old December 24, 2017, 11:02   #23
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,309
PowerWyrm is on a distinguished road
Last changes before the release:

- Make effects and curses unnecessary for IDing jewellery
- Make not obviously aimed flavored items use a random direction if unknown (except rods)
- Simplify the readme.7z archive
- Add missing IM_NETHER to crawling masses of primal chaos
- More abominations: chaos mutants and blood lurchers
- Make ancient wyrms even more rarer
- Fix crash when inspecting a nonequipped cursed item
- Don't send extra info in the reply when the server refuses a client connection
- Check status error immediately when the client tries to contact a server and return "not a PWMAngband server" for unknown errors
- Fix crash when unable to place stairs on new generated dungeon level
- Refactor object_xtra structure, splitting activation and aiming flags
- Don't give the Dungeon Master full flavor knowledge at birth to allow generation of unaware items
- Allow '*' to specify a rod when generating an item with the Dungeon Master
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Development version of PWMAngband 1.1.12 released for testing PowerWyrm Variants 80 July 13, 2017 12:59
Beta version of PWMAngband 1.1.11 released PowerWyrm Variants 20 December 24, 2015 09:36
Beta version of PWMAngband 1.1.10 released PowerWyrm Variants 8 December 11, 2013 18:34
Z+Angband version 0.2.2 beta released; looking forward Mangojuice Variants 72 December 28, 2009 21:29
[PWMAngband] New version 1.0.3 is out PowerWyrm Variants 0 April 4, 2008 19:46


All times are GMT +1. The time now is 09:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.