Joined: 22 Feb 2006, 01:02 Location: cheap kitchen
The year 2011 is coming to an end and people are still guessing what numbers to use when typing !addbox into chat to set up startboxes on autohosts. Clearly the answer is a sleak app for the iPhone buggy javascript.
So if your startboxes after the third try are still in lava, you need this:
(spaces can actually just be kept as space, but forum changes it to %20)
In springloby you can c&p mapname from this line AH spams when you click a map: [RoX]knorke suggests Eye_Of_Horus_v2 or c&p from drowndown.
Put adress with the correct ?map=bla in browser, hit enter. Keep reloading the page (F5 key) until the minimap shows up and the coordinates are not all 0 or "infinite" (wtf, srsly. might be caching or something) Should take 2 tries max, sometimes it works on 1st.
Copy the created !addbox into chat, AH adds the boxes -> tada, boxes are set.
Sadly the actual boxes are a bit different from the script because page scaling or scrolling in browser (put zoom 100%) and/or because the CSS layout is not correctly aligned.
Joined: 22 Feb 2006, 01:02 Location: cheap kitchen
on the zerok server there are also mapname.minimap.jpg instead of mapname.thumbnail.jpg but some were too big and then got scaled down and that messed everything up (even more than now) or something like that. I'll have to look into how to get mouseclick position relative to CSS elements, if that makes sense.
It is done. I have taken inspiration from knorke's kackeldackel mishmash of javascript muckery and added box drawing to Weblobby.
Do you realize what this means? Even ZK Lobby made by Licho himself can not communicate with Springie on such an intimate level. Weblobby is now the only lobby client to add startboxes to Springie with map drawing.
Joined: 24 Jan 2006, 21:12 Location: There is no god - and reality is his prophetess
OMG WHAT ARE YOU DOING! YOU ARE LETTING THE NUBS IN...
WELL YOUNG MAN, YOU ARE RESPONSIBLE FOR YOUR PETS. YOU WILL CLEAN UP AFTER THEM. HERE IS YOUR SHOVELL. AND A RUBBER GLOVE. AND SOME BROWN AND RED PAINT, SO THE STAINS DONT SHOW.
Too bad you didn't code this as a reusable Swing component, then I could have implemented it in my lobby.
To bad you didn't attempt to nab the reusable swing component that's been sitting in AFLobby that lets you pick and draw any startbox configuration you like with built in ally controls for swapping them around.
Joined: 07 Feb 2005, 21:30 Location: Cheese factory
AF wrote:
Cheesecan wrote:
Too bad you didn't code this as a reusable Swing component, then I could have implemented it in my lobby.
To bad you didn't attempt to nab the reusable swing component that's been sitting in AFLobby that lets you pick and draw any startbox configuration you like with built in ally controls for swapping them around.
Not really comparable. First it does something else. Second your code is not even licensed.
It IS, it's LGPL 2, and it does the same thing but better. It shows the minimap and lets you put boxes on it showing the starting rectangles for each ally team, resize them, and drag them around. It also has a separate control for rendering them as translucent boxes on a minimap in a non interactive manner
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum