View topic - Its boxxy! (the funny startbox maker)



All times are UTC + 1 hour


Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 12 Dec 2011, 23:27 
Moderator
User avatar

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:

Image
I have NO idea of javascript and so the implantation sucks even harder than the idea.
How to use:
http://knorke.darkstars.co.uk/startboxxy.html?map=Anglo-saxon_Starfish_Redux
wait, don't click yet.
replace ?map= with the map you are using.
Must be complete mapname for example
http://knorke.darkstars.co.uk/startboxxy.html?map=DesertCliffsV1
http://knorke.darkstars.co.uk/startboxxy.html?map=Eye_Of_Horus_v2
http://knorke.darkstars.co.uk/startboxxy.html?map=Gehenna%20Rising%20v2

(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.


Top
 Offline Profile  
 
PostPosted: 12 Dec 2011, 23:43 
Lobby Developer
User avatar

Joined: 08 Feb 2010, 22:21
Location: Saint-Petersburg, Russia
Holy crap :shock:


Top
 Offline Profile  
 
PostPosted: 12 Dec 2011, 23:58 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
I like how knorke names his stuff. You should do some projects for IKEA, they have the same catchy naming policy.


Top
 Offline Profile  
 
PostPosted: 13 Dec 2011, 05:59 
User avatar

Joined: 23 Oct 2004, 00:43
Get this integrated into ZKLobby nao!


Top
 Offline Profile  
 
PostPosted: 13 Dec 2011, 06:18 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Knorke for God! Err, I mean Mod!


Top
 Offline Profile  
 
PostPosted: 13 Dec 2011, 17:04 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
You already named something else boxxy. Now you have two boxxies. What is wrong with you?


Top
 Offline Profile  
 
PostPosted: 13 Dec 2011, 17:09 
Spring Developer

Joined: 16 Dec 2006, 20:59
Foxxy boxxy, I love you


Top
 Offline Profile  
 
PostPosted: 13 Dec 2011, 21:21 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
I'll try to add it to weblobby.


Top
 Offline Profile  
 
PostPosted: 14 Dec 2011, 00:28 
Spring Developer

Joined: 31 May 2009, 23:08
@knorke:

high-res images needed? i could help...

for example:
http://springfiles.com/sites/default/fi ... ry.sd7.jpg


Top
 Offline Profile  
 
PostPosted: 14 Dec 2011, 02:10 
Moderator
User avatar

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.
CarRepairer wrote:
Now you have two boxxies.
Image


Top
 Offline Profile  
 
PostPosted: 15 Dec 2011, 07:09 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
It is done. I have taken inspiration from knorke's kackeldackel mishmash of javascript muckery and added box drawing to Weblobby.

Image

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.


Attachments:
Capture.PNG [139.57 KiB]
Downloaded 1 time
Top
 Offline Profile  
 
PostPosted: 15 Dec 2011, 07:39 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
Quote:
Weblobby is now the only lobby client to add startboxes to Springie with map drawing.
its funny because its sad that it has been like that for years.
(add !clearbox as well)


Top
 Offline Profile  
 
PostPosted: 15 Dec 2011, 23:42 
Journeywar Developer & Mapper
User avatar

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.


Top
 Offline Profile  
 
PostPosted: 19 Dec 2011, 10:45 
User avatar

Joined: 07 Feb 2005, 21:30
Location: Cheese factory
Too bad you didn't code this as a reusable Swing component, then I could have implemented it in my lobby.


Top
 Offline Profile  
 
PostPosted: 19 Dec 2011, 13:00 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
you still can. You telling me you cannot take once piece of code and reimplement it in javajava?


Top
 Offline Profile  
 
PostPosted: 19 Dec 2011, 15:22 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
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.


Top
 Offline Profile  
 
PostPosted: 19 Dec 2011, 15:44 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
ZIIIIIIIIIIIIIIIIIIIiiiIIING


Top
 Offline Profile  
 
PostPosted: 20 Jan 2012, 03:20 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
knorke wrote:
Quote:
Weblobby is now the only lobby client to add startboxes to Springie with map drawing.
its funny because its sad that it has been like that for years.
(add !clearbox as well)

Done.


Top
 Offline Profile  
 
PostPosted: 20 Jan 2012, 12:34 
User avatar

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.


Top
 Offline Profile  
 
PostPosted: 22 Jan 2012, 18:23 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
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


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.