View Single Post
  #16  
Unread 04-19-2005, 04:45 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

The problem is that currently the only way to pass any info outside the EQ2 client is via HTML window URL, and currently there's no way to tack your /loc onto a predefined URL. That would require concatination (text string + text string), which isn't available.

In theory, if we could shove text together, we could provide an in-game POI window, activated by a button on the Map, with all the required fields. You're loc would be auto-inserted. You'd fill in the rest of the POI info and hit a submit button. The HTML window would be sent a URL that looks something like this...

Code:
http://maps.eq2interface.com/submitpoi.php?name=somepoiname&type=poitype&zone=currentzone&loc=somepoiloc&submitor=yourEQ2Iname&desc=longdescription
With each of those "someblahblah" bits replaced by your form entries (that's the part we can't do).

Code would need to be written on the webserver to accept this URL as a submission, error and dupe check. Probably need an abuse blocker script to prevent some bot from hammering the web server by spamming the submission URL. In short, ALOT of new code would be needed on the web server to handle this.

But again, the whole thing is moot since we can't construct the required URL.

Edit: actuallly there may be an extreamly uhgly way to construct this type of URL, but I haven't varified it works.

Last edited by Zonx : 04-19-2005 at 04:53 PM.