vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   RPG Integration Hack /w Battle (BETA) (https://vborg.vbsupport.ru/showthread.php?t=46417)

rrnolan 12-13-2002 11:39 PM

Char250 type and now the game seems to be working.

When I go to play I see radio buttons and the only ones that are not grayed out are

User your fists
Request a draw
Retreat

Im guessing the way you play is you hit submit with Use you fists selected. I have done that 3 times. Each time I get

ron tried to use his fists. Everyone knows that this is stupid. ron feels ashamed and cowers in his stupidity. ron[imported] rolls his eyes and gets ready for his turn.

Then its the next persons turn. The picture with the two little dudes does not change is that supposed to change?

Bitsys 12-13-2002 11:46 PM

Quote:

Originally posted by rrnolan
Char250 type and now the game seems to be working.

When I go to play I see radio buttons and the only ones that are not grayed out are

User your fists
Request a draw
Retreat

Im guessing the way you play is you hit submit with Use you fists selected. I have done that 3 times. Each time I get

ron tried to use his fists. Everyone knows that this is stupid. ron feels ashamed and cowers in his stupidity. ron[imported] rolls his eyes and gets ready for his turn.

Then its the next persons turn. The picture with the two little dudes does not change is that supposed to change?

Have you read https://vborg.vbsupport.ru/showthrea...575#post329575 yet?

The pictures do not change.

rrnolan 12-14-2002 01:02 AM

Everything Seems To Be Working on VB2.6 The fields got messed up not sure if something there when wrong on setup. The Install required me to do some manual changes. You may want to clarrify that there are to areas that are the same in showthread, when I had to make the manual change it took me an hour to figure out which section the top or the bottom.


I am finding one error so far if I go to the view games and none are in progress, and I press Update Games this error is returned

Warning: Variable passed to each() is not an array or object in D:\digigames2.biz\forums\admin\battleadmin.php on line 23

I am still testing so I will keep you posted.

Bitsy if you want to create an account on my site I will set you up as an admin so you can test out the 2.6 install. http://www.digigames2.biz you will see on the main page a link to battle fourms on the left menus

When you do a fist fight I went back and forth 6 times and never was any damge done to either player. Is that supposed to work that way?

Bitsys 12-14-2002 01:22 AM

Quote:

Originally posted by rrnolan
Everything Seems To Be Working on VB2.6 The fields got messed up not sure if something there when wrong on setup. The Install required me to do some manual changes. You may want to clarrify that there are to areas that are the same in showthread, when I had to make the manual change it took me an hour to figure out which section the top or the bottom.
Step #11 in the install file states that if there were any errors in showthread.php, then you must find ALL instances of the code that needs to be replaced, not just the first or the last. I will work on clarifying it.
Quote:

Originally posted by rrnolan

I am finding one error so far if I go to the view games and none are in progress, and I press Update Games this error is returned

Warning: Variable passed to each() is not an array or object in D:\digigames2.biz\forums\admin\battleadmin.php on line 23

I am still testing so I will keep you posted.

Well, I didn't think anyone would want to update it if there weren't any games. The error doesn't do anything harmful.
Quote:

Originally posted by rrnolan
Bitsy if you want to create an account on my site I will set you up as an admin so you can test out the 2.6 install. http://www.digigames2.biz you will see on the main page a link to battle fourms on the left menus

When you do a fist fight I went back and forth 6 times and never was any damge done to either player. Is that supposed to work that way?

Currently, fists don't do any damage. That will probably change in the future. In the meantime, fists are there so that you will always have a move to make, even when you don't have any weapons or spells or potions etc...

rrnolan 12-14-2002 01:56 AM

Bitsy Thank You So Much for all the help, I think you can show vb2.6 as working with your hack everything is then working the way it is supposed to from what I see.

One last question, is there a player ranking screen that I can link for my users, one that would show based on battles etc who is in 1st place 2nd 3rd 4th etc. So that players know where they stand vs other players.

Take a look at my postbit hack
http://www.digigames2.biz/forums/sho...&threadid=1328

Bitsys 12-14-2002 02:12 AM

I had several ideas about doing a battle statistics page. I will think about adding it after I release version 0.56. Version 0.56 is taking a while because of all the new features.

VeoMorphine 12-14-2002 11:11 AM

OK, On my Lusanes Store Intregration, its alot easyer for me to just Port the RPG hack over, to use the Store points system, so ill release the first verson of that once 0.56 is out.

And bitsys, i must say this is truly the best hack i've seen for vb, and ide nomanate/vote for this for hack of the year/month anyday.

geniuscrew 12-15-2002 12:27 AM

Quote:

Originally posted by VeoMorphine
OK, On my Lusanes Store Intregration, its alot easyer for me to just Port the RPG hack over, to use the Store points system, so ill release the first verson of that once 0.56 is out.

And bitsys, i must say this is truly the best hack i've seen for vb, and ide nomanate/vote for this for hack of the year/month anyday.

Can't you just change the Point field to the store's point field and enter "0" for Activity Points?

Strider Xero 12-15-2002 05:55 AM

Hmm its weird but the HP, MA and PP aren't moving at all...they stay at '0/0'. AP and EXP are okay though. Why is this? I've chosen an element, alignment, race and class but still nothing..its weird.

geniuscrew 12-15-2002 08:39 AM

Have you updated stats in your user CP?

Strider Xero 12-15-2002 09:00 AM

Yep, just updated and still the same. I even tried to refill them by clicking the links...seems only the AP refills, nothing else.

VeoMorphine 12-15-2002 12:07 PM

Quote:

Originally posted by geniuscrew


Can't you just change the Point field to the store's point field and enter "0" for Activity Points?

The store points are kept inside the user table while the itemshop is in the userfeild table.

perrera 12-15-2002 01:31 PM

How the HP increase?

mli 12-15-2002 05:13 PM

I was bound to get an error and I did.

Database error in vBulletin 2.2.9:

Invalid SQL:
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter,
user.ma AS uma,user.hp AS uhp,user.pp AS upp,user.ap AS uap,items_options.pointfield,battle_options.namefi eld,battle_options.usepostcount,battle_options.exp rate,battle_options.levelfield,battle_options.priv acy AS battleprivacy,items_user.*,rpg_race.name AS rpgracename,rpg_race.alignment AS rpgalignmentname,rpg_classf.name AS fclassname,
rpg_classf.folder AS fclassfolder,rpg_classm.name AS mclassname,rpg_classm.folder AS mclassfolder,rpg_element.name AS elename
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post, battle_options, items_options
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN items_user ON items_user.userid=user.userid
LEFT JOIN rpg_classf ON rpg_classf.id=user.rpgclass
LEFT JOIN rpg_classm ON rpg_classm.id=user.rpgclass
LEFT JOIN rpg_element ON rpg_element.elementid=user.element
LEFT JOIN rpg_race ON rpg_race.raceid=user.rpgrace AND rpg_race.alignmentid=user.alignment
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid IN (0,2890)
ORDER BY dateline

mysql error: Unknown column 'user.ma' in 'field list'

mysql error number: 1054

Date: Sunday 15th of December 2002 12:04:50 PM
Script: http://rkr.ravencommunity.net/forums...p?threadid=207
Referer: http://rkr.ravencommunity.net/forums....php?forumid=5

I get this everytime I open up a thread. WHAT THE HELL IS user.ma??? IT says it can't find it or something.

jags2ooo 12-15-2002 07:14 PM

This is weird, the weapons and accessories do not have anything set under the [damage/deff/buff/] area, it has everything else but that, can anyone send a screenshot of what should properlly be there. Please! Also when is 56 comin, CANT WAIT FOR FULL HAHA

jags2ooo 12-15-2002 07:51 PM

2 request, I think there should be in stats, a show of wins/loses and also the ability to carry up to 6 items per player. that would be sweet for .56

jags2ooo 12-15-2002 09:12 PM

Imma admin, can I raise my own HP, or is that not possible...

geniuscrew 12-15-2002 10:04 PM

Quote:

Originally posted by jags2ooo
2 request, I think there should be in stats, a show of wins/loses and also the ability to carry up to 6 items per player. that would be sweet for .56
I get ya Veo :)

jags:

You can I think, but as you know, you can have only 1 item from each category. So create more categories - then you will be able to carry more things :)

For example split the mana from the HP pots, etc.

I currently have 5 categories

VeoMorphine 12-15-2002 10:48 PM

ok, for some reasen i get a VB error when a user registers. they register fine, but that error is REALLY anoying. It doesnt give any information, it just gives the same error as if the forums wernt connecting to the db, and asks you to contact the tech team.

Do you get an error?

geniuscrew 12-15-2002 10:55 PM

Mine work perfect :-/

Thanks for joining my forums btw :) - [they aren't the ones I have the RPG hack installed on though ;)]

VeoMorphine 12-15-2002 10:59 PM

No problem ^^

I might just rehack the board on new forums.

Bitsys 12-16-2002 02:03 PM

Strider Xero:
Have you made posts on the forum yet? Your HP, MA, etc is based on post count as well as your activity on the forums and your element.

pererra:
See above ^^

mli:
Your user database did not get the appropriate fields added during installation. Did you get any errors when you installed with vbHacker?

jags2ooo:
Are you referring to the admin cp or itemshop.php?

I am working on adding a battle stats database to list the current top battlers etc.

You cannot raise your own HP to extraordinarily high levels anywhere on the board or admin cp. However, you can use phpmyadmin to raise your stats.

VeoMorphine:
Could you post the error message? Or is it the generic message that doesn't show the failed query?

VeoMorphine 12-16-2002 02:23 PM

no query message in that error, just the ganeric one.
Its a database error, not a file error....

And i dont think its in register.php since i even tryed reverting it back and it was fine.

Bitsys 12-16-2002 02:45 PM

Open up the hacked version of register.php and find:
PHP Code:

$userid=$DB_site->insert_id();
$DB_site->query("INSERT INTO items_user (userid) VALUES ($userid)"); 

If it doesn't look exactly like that, then change it to look like that. If it does look like that, then go to the table `items_user` in phpmyadmin and make sure it has a field called 'userid'.

jags2ooo 12-16-2002 04:06 PM

Also A Good Idea would be to have Fighter Clans, and something in the postbit : Member of : The Ki Clan for example...

mli 12-16-2002 07:02 PM

Quote:

Originally posted by Bitsys

mli:
Your user database did not get the appropriate fields added during installation. Did you get any errors when you installed with vbHacker?

Yes, some of the queries did not work. But then I ran the queries manually. So it should work out right. What queries do I need to run to fix that error?

Strider Xero 12-16-2002 07:44 PM

bitys, yes i have made posts on the forum. still only the AP and EXP are have gone up...the others stay at 0/0 with the bars not moving...and yes i have set the elements straight and everything.

jags2ooo 12-16-2002 08:29 PM

Quote:

Originally posted by geniuscrew


I get ya Veo :)

jags:

You can I think, but as you know, you can have only 1 item from each category. So create more categories - then you will be able to carry more things :)

For example split the mana from the HP pots, etc.

I currently have 5 categories

Although I now have more categories, how can I use them, it only shows the originals, and that sucks.

jags2ooo 12-16-2002 08:46 PM

If you don't understand, I went too the item types and added categories such ass 2 handed and onehanded and changed the battle type too fit the category and still does not show, what is up?

jags2ooo 12-16-2002 08:48 PM

Are all battle types suppose to change to current even after u change it to something else?

Mrpolish 12-16-2002 09:25 PM

I get an error when I try to do something in battle

Invalid SQL: SELECT field6 FROM userfield WHERE userid='1'
mysql error: Unknown column 'field6' in 'field list'

mysql error number: 1054
vb ver:2.2.8

Bitsys 12-16-2002 09:29 PM

mli:
You need to add several fields to your `user` table. I am not sure which part of the query failed or why it failed. Can you tell me the name of the last field in your `user` table?

Strider Xero:
What battle options do you have enabled (set to 'Yes')?

jags2ooo:
Make sure that you added the new categories to a default item type. In the admin cp, go to "Edit Item Type" and make sure the categories are associated with an item type.

Yes, it is supposed to say "current" even after you have changed it. This is to reduce queries.

Mrpolish:
What battle options do you have enabled (set to 'Yes')?

mli 12-16-2002 09:51 PM

Ok, I decided to install ALL OVER AGAIN!!! And everything works alright so far, but when I attack my opponent in battle it gives me this error:
Code:

Database error in vBulletin 2.2.9:

Invalid SQL: SELECT field6 FROM userfield WHERE userid='1'
mysql error: Unknown column 'field6' in 'field list'

mysql error number: 1054

Date: Monday 16th of December 2002 04:45:42 PM
Script: http://rkr.ravencommunity.net/forums...&battlekey=yay
Referer: http://www.rkr.ravencommunity.net/fo...on=enterbattle


Mrpolish 12-16-2002 09:54 PM

Yes
1.Battle hack is on
2.Give exp to users
3.Do you want a user's power level calculated by and based on their post count?
A user's power level determines ALL of their stats for the battle hack.
No.
Battles are private

Bitsys 12-16-2002 10:05 PM

mli and Mrpolish:
Did you run "install_itemshop_items.php"?

Mrpolish 12-16-2002 10:07 PM

I did

mli 12-16-2002 10:08 PM

lol, we're getting the same error jsut noticed that. Sorry for my post I guess. Here are my options:

RPG Name Field: field6
Battle hack: ON
Max # of battles: 0
Battles are Private: No
Post Battle Results: Yes

Power Level determined by post count: Yes
Power Level Modifier: 3
User's Level Field: field7

Give expierence to user for battles: No

mli 12-16-2002 10:08 PM

Yup, I did

mli 12-16-2002 10:09 PM

Does it have something to do with the RPG Character's name? Since it complains about field6?

jags2ooo 12-16-2002 10:10 PM

It says Generic, not default, and generic is the only type should there be more?


All times are GMT. The time now is 01: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.03906 seconds
  • Memory Usage 1,840KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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