vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   In battle hack (https://vborg.vbsupport.ru/showthread.php?t=42715)

zajako 08-24-2002 10:00 PM

In battle hack
 
this hack is made for people who have a battle system weather text based or automated, and would like to label when a user is in combat on the postbit and be able to switch them to in battle and available by having an admin or mod click it. thsi hack also has an optional section for the inn hack i made that allows you to set it so that when in battle you cannot use the inn to refill your life.

Without further ado heres the file.

Vivi Ornitier 08-25-2002 02:16 AM

yayyayayayayaya, finally a battle hack, tightness. Screens anyone?

Velocd 08-25-2002 02:23 AM

What makes you think this is a battle system? Not by the description of it, it doesn't appear to be a battle system. Unless I'm reading it incorrectly. ;)

If possible Zajako, could you post a screenshot?

Velocd 08-25-2002 02:26 AM

PHP Code:

// ################################# start dohp #################################
if ($action == "switch") {

If (
$current == "" || $current == "0")
    {

    
$DB_site->query("UPDATE user SET battle=1 WHERE userid=$userid");
    echo 
"switched to in battle";
    }
else if (
$current == "1")
    {
    
$DB_site->query("UPDATE user SET battle=0 WHERE userid=$userid");
    echo 
"switched to available for combat";
     }
else
    {
    echo 
"there had been an error";
    }


Hardly a battle system ;)
But still, this could be considered useful for large RPG forums that use text based battles. I suppose.

DarkDraco07 08-25-2002 02:30 AM

lol, i think a battle hack would be ALOT more code than that. more like 100 pages instead of a paragraph or so

[D]Vincent 08-25-2002 02:33 AM

lol Vivi this just shows whether you're in battle or not, if you have a text based one then your admin clicks that to show that he's in battle, most automatic ones probably already have that.

Velocd 08-25-2002 02:34 AM

Yes, but anyway Zajako thread title clearly suggest this hack is NOT a battlesystem, and because Vivi stated it was I became confused and stated otherwise. Now that I'm officially confused, let's get back on topic :p

It's a hack meant for forums who mainly use text based battles, and want to inform other members if they are open for battle, or not. However this would work.

edit:
this was a reply to post #5
;)

kmfdm_kid2000 08-25-2002 02:39 AM

Good Idea, especially for the way TFO's system is, since battles are long, but ppl on GQ are constantly in and out of battle, so I'll pass up, but good job none the less...

D.S. 08-25-2002 04:02 AM

I think we need like some screen shots. I checked the .zip, and found none. :(

-DS

g-force2k2 08-25-2002 04:39 AM

this is pretty pathetic Zajako ::

first off you're releasing an addon for something that doesn't exist... something that you stated you're doing... and to make this kind of addon? what were you thinking?

you didn't take any time and just throw things together... what good does this do anyone?

// ################################# start dohp #################################

and with this coding leading the switch battle? start dohp eh? sounds brilliant to me... what does changing battle mode have to do with dohp? inbattle in my battle hack is included in the hack... so why release something with no relevance?

and the text coding is very similiar to the shinra online points hack... just altered variable names... at least you could do a decent half assed job... no offense but think before you post a hack...

regards...

g-force2k2


All times are GMT. The time now is 03:22 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.01114 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_php_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
  • (10)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