WebRisk 0.9.13

Discussion about the WebRisk script

WebRisk 0.9.13

Postby benjam » Fri Jun 04, 2010 7:47 am

WebRisk 0.9.13 has been uploaded to the server.  Check the "Latest Version" post for details.

This version has all the latest optimizations, bug fixes, and a few new minor features.

This version uses a somewhat different database schema, and I do not have an update SQL query, nor an update script, so you will have to compare your current schema with this new schema and make the necessary adjustments.

I may upload an update SQL query in the future, I just don't have time right now.

Please let me know if you have any issues or any other questions.  Any feature requests will be added to the 1.1 task list as 1.0 is feature frozen.
Look at me still talking when there's Science to do.
Image
User avatar
benjam
 
Posts: 734
Joined: Thu Feb 06, 2003 8:23 am
Location: orion arm

Re: WebRisk 0.9.13

Postby mucek4 » Fri Jun 04, 2010 8:09 am

Ok. Installation works. Can you explain me wr_game_log format to try and implement features. Can I add some new tables do database?
mucek4
 
Posts: 4
Joined: Thu Jun 03, 2010 8:54 am

Re: WebRisk 0.9.13

Postby benjam » Fri Jun 04, 2010 5:01 pm

What tables are you thinking of adding?

And here are my notes when I built the log table.  They should be complete, if not, let me know.
Attachments
log notes.zip
(1.15 KiB) Downloaded 20 times
Look at me still talking when there's Science to do.
Image
User avatar
benjam
 
Posts: 734
Joined: Thu Feb 06, 2003 8:23 am
Location: orion arm

Re: WebRisk 0.9.13

Postby mucek4 » Fri Jun 04, 2010 7:28 pm

Thank you for file. If you wanna you can remove it. I figured out some of IDs myself but it will be very helpfull.

I am planning to add 1 table so far. For different missions. Or should I hardcode those missions in PHP? We will have to play it one day.

Tomaž
mucek4
 
Posts: 4
Joined: Thu Jun 03, 2010 8:54 am

Re: WebRisk 0.9.13

Postby benjam » Fri Jun 04, 2010 7:38 pm

The way I was planning on doing it was having each type hardcoded in the risk class, and then the choice for each was set in the game table.

The only reason that a table would be needed for the missions is if the game types are customizable, which I don't see a reason why they would be.  Unless you are thinking of a different method than I am.

As for the mission data, that can easily be placed in the extra info array in the game class, and then serialized and put in the extra_info field of the game table (which is what I made it for, easily editing the game table without actually editing the table schema).

Let me know if you need any assistance with this.  And I'd be happy to help you test it, as I'm sure a lot of my users would be as well.
Look at me still talking when there's Science to do.
Image
User avatar
benjam
 
Posts: 734
Joined: Thu Feb 06, 2003 8:23 am
Location: orion arm

Re: WebRisk 0.9.13

Postby mucek4 » Sat Jun 05, 2010 5:45 am

Ok. I'll hardcoded em.

I have played 2 "secret missions" risk. Explained here.

Second one is the one I own as game. You have 4 missions and I'll try to hit this one first.
mucek4
 
Posts: 4
Joined: Thu Jun 03, 2010 8:54 am

Re: WebRisk 0.9.13

Postby benjam » Sat Jun 05, 2010 3:51 pm

Ok, Keep me updated.   :)
Look at me still talking when there's Science to do.
Image
User avatar
benjam
 
Posts: 734
Joined: Thu Feb 06, 2003 8:23 am
Location: orion arm


Return to WebRisk

Who is online

Users browsing this forum: No registered users and 1 guest

cron