vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - SnoWaterBattle (https://vborg.vbsupport.ru/showthread.php?t=194906)

Coroner 10-28-2008 10:00 PM

SnoWaterBattle
 
What does this Mod do ?
It's a game - no, sorry - 2 games in one. Playable only in the profile of each user.
There is only 1 game avaible but the admin can choose what game he want's.
Snowbattle or Waterbattle.

General
You can give permissions to play the game and create clans. If a user has the permission to play, he can disable the game for him in the UserCP (this can do only one time per day). Also in UserCP he can create a clan (with permission).
There are some differences between both games. So please let me try to explain it later (all explanations are also the READ.ME).
This game works my "asset-mod" and "vBCredits", but there is no need ...
Switching to another game, will reset all users !!!


Admin Options
  • Enable/Disable Game
  • choose game
  • daily credit award
  • value of the award
  • max. top clans in statistics
  • max. top players in statistics
  • max. history entries
  • max. number of clans each game
  • max. number of player in a clan
  • reward for freezing/drowning
  • prices for ...
Short explanation of snowbattle (by default settings)
You need to throw snowballs to other users. Each user starts with 20 snowballs. You throw a snowball to any user you like, but only one time per day. A user is froozen by 20 hits and can't throw snowballs any more. If he has a "grog" (hope that word is correct) he can take it to "unfreeze".
Each user has his own profile and in it he can see his status (hits), count of snowballs left ...
Also he can buy things (snowballs, grogs). If a user is out of snowballs, he need to buy new one.
It's always better to have enough money to buy a grog and snowballs.

Short explanation of waterbattle (by default settings)
Simular the same, but ... instead of snowballs it will use water.
At the beginning each user has an emty glass and 20 water-balloons, a water-pistol and a lifering. A balloon is filled with 1 litre water, a pistol can carry 3 litre.
There is an option to buy a water-pumpgun (can carry 10 litre of water). The glass can filled up to 50 litre water and if it's full - the user is drowned.
If you have no water in the glass, you need to throw water-balloons. You can use the water-pistol or pumpgun only your glass is filled with water.
You can also buy some water, but this water is yours and fills you glass. Watch out that you're not drowned. You need to keep the glass empty but ... you also need water for the pistol.
If a user is drowned, he can't throw balloons or use the pistol - he need to be saved.
Another user must give a lifering to save him - he can't save himself.

Clans (by default settings)
There is a maximum of 10 Clans and a maximum of 10 members each clan.
Clan-members can't throw snowballs/water to other members, only to members of other clans or "standalone" users. Each user can only create 1 clan. Users (with no permission to create a clan) can join or withdraw a clan.

Hope you like it.
For support click INSTALLED.

Translations are welcome ! But please let me know, where I can find the language file or the product.

[edit 31.10 Halloween] When you're out of balls, it will now show "You ran out of Snowballs"
[edit 04.11] Fixed in Snowbattle buying things.
[edit 06.11] Fixed a Bug in the UserCP-Battle Settings (if you haven't permissions fpr clans, you can't set PM to NO)
[edit 08.11] If a Usergroup haven't the permission for the game, the profiletab of a user inside this group doesn't appears any longer (simply overwrite the product)

P.S. deutschen Support gibt es auch bei your-vb

Coroner 10-29-2008 08:49 AM

*reserved for ...*

F0xy 10-29-2008 08:57 AM

it has potential, i'm looking into it now

TeelK 10-29-2008 10:03 AM

*tagged*

swissknife 10-29-2008 11:24 AM

Hi!

Thank you for this modification !

But where i can find the "Guthabenhack von Lasall v1.9.2 oder höher" ?

EDIT: Now i unterstood, only wbb . - Ok, thank you!

gwerzal 10-29-2008 11:28 AM

Thanks, might install it a bit closer to christmas

Coroner 10-29-2008 11:59 AM

Quote:

Originally Posted by swissknife (Post 1655251)
Hi!

Thank you for this modification !

But where i can find the "Guthabenhack von Lasall v1.9.2 oder h?her" ?


EDIT: Now i unterstood, only wbb . - Ok, thank you!

No, it's not only wBB. I've converted it for vB.
There is no need to use it, but ... if you like on my homepage you can get it.
Otherwise, you can use vBCredits.

SnoWaterBattle also works without both mods.

Sweeks 10-29-2008 12:53 PM

How can I get it to show in profiles. I have set admin rights, yet I can not see the tab at all? Am I missing something? This sounds like an excellent mod, hopefully you'll come up with more games in the future.

Coroner 10-29-2008 01:28 PM

Have you set the userright ?
under vBulletin option - SnoWaterBattle must be set to ON.
In UserCP (the last entry at the bottom) Battle is it set to ON ?

Internetcafe 10-29-2008 01:51 PM

Great addition .. had to change a couple of phrases to make it more "English", but it works well.

Thanks Coroner .. clicked install.

Coroner 10-29-2008 03:14 PM

Quote:

Originally Posted by Internetcafe (Post 1655309)
Great addition .. had to change a couple of phrases to make it more "English", but it works well.

Thanks Coroner .. clicked install.

Ohhh, pls let me know. My horrible grammar *smile

Sweeks 10-29-2008 05:14 PM

When clicking to throw a snowball, it just refreshes the profile you are on. It does not count them at all and says nobody has thrown at usernamehere.

On the good side it does credit your VBcredits perfectly.

Any ideas?
________
Amateur Adult Videos

rob01 10-29-2008 05:33 PM

i get this error :

Warning: require_once([path]/includes/class_profiletab_snowaterbattle.php) [function.require-once]: failed to open stream: No such file or directory in [path]/member.php(454) : eval()'d code on line 224

Fatal error: require_once() [function.require]: Failed opening required '/public_html/bbs/includes/class_profiletab_snowaterbattle.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/local/php5-fcgi/lib/php') in /public_html/bbs/member.php(454) : eval()'d code on line 224

:(

Coroner 10-29-2008 05:41 PM

Quote:

Originally Posted by J12610AFE2D3 (Post 1655477)
When clicking to throw a snowball, it just refreshes the profile you are on. It does not count them at all and says nobody has thrown at usernamehere.

On the good side it does credit your VBcredits perfectly.

Any ideas?

not really. Can you try to switch to waterbattle and see what happends.

Coroner 10-29-2008 05:42 PM

Quote:

Originally Posted by rob01 (Post 1655490)
i get this error :

Warning: require_once([path]/includes/class_profiletab_snowaterbattle.php) [function.require-once]: failed to open stream: No such file or directory in [path]/member.php(454) : eval()'d code on line 224

Fatal error: require_once() [function.require]: Failed opening required '/public_html/bbs/includes/class_profiletab_snowaterbattle.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/local/php5-fcgi/lib/php') in /public_html/bbs/member.php(454) : eval()'d code on line 224

:(

You need to upload ALL files.
ncludes/class_profiletab_snowaterbattle.php is missing.

Internetcafe 10-29-2008 05:44 PM

Would it be possible to show the number of hits a member has taken in their postbits ?

Coroner 10-29-2008 06:23 PM

I think not. It will take longer to see which user has the mostest hits (water).
But ... I've wrote a little "cheat" php to find out, which user has the most .... :D

Internetcafe 10-29-2008 11:16 PM

All hits are reset to zero at the end of each 24hour period .. can we have an option to extend that !?

xStat 10-30-2008 04:07 AM

I can see in your screenshot that you can buy waterballons or snowballs, but there is no button for me in my profile.

Coroner 10-30-2008 05:38 AM

@internetcafe: why ?
@xStat: any pictures ? You must go into your profile

xStat 10-30-2008 06:12 AM

There you go.

No Buy button at all.

Tried to throw all away so that I would have 0 at everything, but still nowhere to close the deal.

Coroner 10-30-2008 07:12 AM

Pls, try to upgrade all the php files. There was really a bug, if asset-mod or vbcredits isn't installed.

Cybertims 10-30-2008 08:37 AM

All uploaded and installed ok, everything seems ok till I click on the link in my UserCP, then all I get is a blank page, I've tried changing from water to snow but still the same, any ideas?

Cheers

Coroner 10-30-2008 09:18 AM

It will jump into snowaterbattle_profile.php. Correct ?

The last entry in the php file is:
eval ('print_output("' . fetch_template ($shelltemplatename) . '");');

and $shelltemplatename is "USERCP_SHELL". You must see the shell.

Don't know why you get a blank page.

I would like to "trace" with (for example: echo "test";) anywhere in the file to see what happends.

Internetcafe 10-30-2008 12:24 PM

Quote:

Originally Posted by Coroner (Post 1655816)
Pls, try to upgrade all the php files. There was really a bug, if asset-mod or vbcredits isn't installed.

Do we need to upgrade if we have vbcredits ?
All seems to be working well on my place.

RedeemedWarrior 10-30-2008 12:48 PM

loads to a blank page for me :(

dotpeddler 10-30-2008 12:58 PM

Quote:

Originally Posted by xStat (Post 1655800)
There you go.

No Buy button at all.

Tried to throw all away so that I would have 0 at everything, but still nowhere to close the deal.

Yeah, I installed this and it works fine but you can't actually buy any snowballs and you cannot set up a clan, even with the back end settings in place...there is no place to comitt to the action in the profile.

Too bad, too. Snowballs fit real well on my Christmas forum.

RedeemedWarrior 10-30-2008 01:05 PM

blank page has gone yet i'm getting the same error as Dot.

plus a weird document has moved thingy everytime i throw a ball

Coroner 10-30-2008 01:21 PM

Quote:

Originally Posted by Internetcafe (Post 1655951)
Do we need to upgrade if we have vbcredits ?
All seems to be working well on my place.

No, but you can if you like

Coroner 10-30-2008 01:23 PM

Quote:

Originally Posted by RedeemedWarrior (Post 1655968)
blank page has gone yet i'm getting the same error as Dot.

plus a weird document has moved thingy everytime i throw a ball

Quote:

Originally Posted by dotpeddler (Post 1655962)
Yeah, I installed this and it works fine but you can't actually buy any snowballs and you cannot set up a clan, even with the back end settings in place...there is no place to comitt to the action in the profile.

Too bad, too. Snowballs fit real well on my Christmas forum.

All the actions will be done in snowaterbattle_actions.php

Is there a change to get an test-account ?

Internetcafe 10-30-2008 01:36 PM

What happens actually if you freeze and do not use a grog? will you unfreeze after a certain time and what will happen if members still throw balls when you are frozen?

Coroner 10-30-2008 05:07 PM

When you are frozen - you're frozen. The only chance to get unfrozen is to get a grog.
Members can't throw snowballs to a frozen user.

Also members can't make others wet if they are drowned.

Coroner 10-30-2008 07:53 PM

Sorry. It was a long ago. I think at the next day (not 24 hours) he will be "unfrozen"

RedeemedWarrior 10-31-2008 09:28 AM

everything works except the blank page from usercp issue now

Coroner 10-31-2008 09:54 AM

So, what was it ?

Internetcafe 10-31-2008 01:20 PM

I notice if you run out of snowballs, instead of telling you that you need more snowballs it defaults to :- "You've already thrown at ??"

RedeemedWarrior 10-31-2008 01:56 PM

the other issues? no idea they seemed to correct overnight

the clan and usercp functions however don't work

Coroner 10-31-2008 03:50 PM

@internetcafe: Will check it out
@RedeemedWarrior: A change to get a test-account ?

RedeemedWarrior 10-31-2008 06:18 PM

a member type account?

Coroner 10-31-2008 07:31 PM

I think this is ok. Will take a look at the usercp


All times are GMT. The time now is 12:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01338 seconds
  • Memory Usage 1,820KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete