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)

Jitway 04-15-2003 03:43 PM

This is the url http://www.jitway.com/forums/images/...whitemagem.gif and it should be http://www.jitway.com/forums/images/...whitemagef.gif

PSI|Dr-X 04-15-2003 05:55 PM

no no lol it is on a localhost not a public forum yet
but you better may fix this on the next version :)

DestyNova 04-15-2003 06:18 PM

Quote:

04-11-03 at 11:45 PM bharvey42 said this in Post #1445
Thats like those people in school who sit there and like to show off and tease people. If you wanna make something cool, if you wanna hold it over everybodys head and say look at this cool thing i made nananananan, thats lame. Those kids got beat up.
True, I don't mind if Chrisz decide to keep it to himself as long as he did not make any announce or keep us update with progress. If he decide to not release, of course some of us don't care if he did make progress or not.

General hacking forum will do for you, Chrisz.

Jagang 04-15-2003 06:36 PM

Quote:

04-10-03 at 07:46 PM Bitsys said this in Post #1420
What is the URL that the link is pointing to?
I have since deleted the battle but the urls that are PMed In the battle invite are of this type:

http://beta.evhallion.com/forums/bat...r=4&battlekey=

This will give you a page reading:

Invalid battle or password

Now battles are set to public. But even setting them to private will produce the same error. I have found I can go to "View Battles" in the cp and enter a password into the battle and then go and type in the battle number and the password I gave it in the Battle arena main page and I can enter the battle. however I don't want to have to do this for every battle played on my boards. Any idea what code I need to adjust here?

Airs 04-15-2003 07:12 PM

like giving the rpg its on cp is better than putting that chunk of code in the usercp..

PixelFx 04-15-2003 08:44 PM

Bitsys
I'm still testing but got the battle system install cleanly, so far with no problems, I also made a custom post bit to try and keep them a bit smaller. Then linked up everything to my vbhome page and profile with addons, everything seemed to install great so far.

if anyone wants to have a look, click the www link in my profile :) The site is script heavy.

Thanks to everyone that is working on this my self and few others are going to convert the hack over to AD&D 2nd & 3rD Editions.

Moreliator 04-15-2003 09:17 PM

Quote:

Today at 05:01 AM Bitsys said this in Post #1476
Ok, I think I figured out what happened. You say that the user went from level 1 to level 2. The formula affecting MA and PP multiplies the Level by the user's time on the boards. Therefore, when the level jumped to twice as much as it was before, it also made the MA/PP jump by more than twice since the user's get more than 1 MA/PP per level.

This theory should only work for low levels. Can you tell me if this happens with people who are at higher levels? There should be a diminishing return based on how high the user's level is.




Hey,
That makes sense... I recently installed it on a board where I have members who have been registered over 2 years... even though I have the MA and PP to only raise about two each level, it goes to 950/950 after one level up. I shut it down after that, so I don't know about higher levels. Is there anyway to alter the formula so the stats won't jump so much? Will it self fix itself after a few levels?

Thanks.

Bitsys 04-16-2003 11:43 AM

Quote:

Yesterday at 10:43 AM Jitway1 said this in Post #1481
This is the url http://www.jitway.com/forums/images/...whitemagem.gif and it should be http://www.jitway.com/forums/images/...whitemagef.gif
In the admin CP, go to the Edit Classes menu and scroll down to the female classes. What is the value of the "Folder" column in the White Mage row?

Quote:

Yesterday at 01:36 PM Jagang said this in Post #1484
I have since deleted the battle but the urls that are PMed In the battle invite are of this type:

http://beta.evhallion.com/forums/bat...r=4&battlekey=

This will give you a page reading:

Invalid battle or password

Now battles are set to public. But even setting them to private will produce the same error. I have found I can go to "View Battles" in the cp and enter a password into the battle and then go and type in the battle number and the password I gave it in the Battle arena main page and I can enter the battle. however I don't want to have to do this for every battle played on my boards. Any idea what code I need to adjust here?


When you create a new battle, does the password get properly set in the database? Or is it blank?

Quote:

Yesterday at 03:44 PM PixelFx said this in Post #1486
Bitsys
I'm still testing but got the battle system install cleanly, so far with no problems, I also made a custom post bit to try and keep them a bit smaller. Then linked up everything to my vbhome page and profile with addons, everything seemed to install great so far.

if anyone wants to have a look, click the www link in my profile :) The site is script heavy.

Thanks to everyone that is working on this my self and few others are going to convert the hack over to AD&D 2nd & 3rD Editions.

Hmm, interesting spam system you have there. Is that a released hack on vbulletin.org, or a custom job?

Quote:

Yesterday at 04:17 PM Moreliator said this in Post #1487
Hey,
That makes sense... I recently installed it on a board where I have members who have been registered over 2 years... even though I have the MA and PP to only raise about two each level, it goes to 950/950 after one level up. I shut it down after that, so I don't know about higher levels. Is there anyway to alter the formula so the stats won't jump so much? Will it self fix itself after a few levels?

Thanks.


It should fix itself over the next few levels, however if it does not, then you can try searching this thread for "update stats code" or the like for instructions on how to change the formula.

Rusty_Boi 04-16-2003 02:47 PM

Quote:

Yesterday at 12:54 AM Oricon said this in Post #1473
Well this has kinda screwed up my modify profile and it won't update stats or keep the element in the profile it pretty muchly keeps all the other stuff besides that. Look in the ss for what I mean by messing up it. Any help would be greatly appriciated.

i am getting this problem also..

well.. more or less... i fixed the dupilication thing. but when i choose Alignment or class... i get a "error on page" error. anyone have any ideas?

Jitway 04-16-2003 05:18 PM

Quote:

Today at 07:43 AM Bitsys said this in Post #1488
In the admin CP, go to the Edit Classes menu and scroll down to the female classes. What is the value of the "Folder" column in the White Mage row?






Thanks Bitsys that was it. Don't know why but that was the only one that was labeled wrong. :D

PixelFx 04-17-2003 12:33 PM

Not sure if anyone has had this, but when I try to donate to another member with out anonamyous setting set, I get the following error.

server info:
PHP Version 4.3.1
Mysql: Client API version 4.0.12
Linux Redhat 7.3

Code:


Database error in vBulletin 2.3.0:

Invalid SQL: SELECT field5 FROM userfield WHERE userid=
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

Date: Thursday 17th of April 2003 12:10:44 AM
Script: http://www.xtremegames.ca/forum/forum/itemshop.php
Referer: http://www.xtremegames.ca/forum/item...n=donate&user=


sonic3d 04-17-2003 04:27 PM

also i was wondering if ne1 has cleaned up the templates cuz its all messed up looking in my new style.

l8er
sonic

Red Blaze 04-17-2003 05:16 PM

I had that problem but I'm not sure what my co-admin did that fixed it. ^^; It had something to do with a missing variable. Don't really remember since it happend a good time ago.

sonic3d 04-17-2003 08:59 PM

nevermind. i fixed it. i had to fix 3/4 of the battle templates. and heal

l8er
sonic

Jagang 04-18-2003 12:01 AM

Quote:

04-16-03 at 12:43 PM Bitsys said this in Post #1488
When you create a new battle, does the password get properly set in the database? Or is it blank?
In the Battle table, the field battlekey is blank even though I set a password. If it helps I am running MySQL 3.23.41

Moreliator 04-18-2003 05:57 PM

Bitsy,
I think I may have found a slight mistake in thh souce code in member.php for the stat updater

Code:

      if ($hpmulti > 7.5)
        $hpmulti = 3;
      if ($hpmulti > 2.5)
        $hpmulti = 1.5;
      if ($hpmulti < 1)
        $hpmulti = 1;

I think the last two need "else" statements:

Code:

      if ($hpmulti > 7.5)
        $hpmulti = 3;
      elseif ($hpmulti > 2.5)
        $hpmulti = 1.5;
      elseif ($hpmulti < 1)
        $hpmulti = 1;

The elseif probably isn't NECISARY on the last one.


ALSO, I seem to be having a problem with the item types in the admin panel. I recently added a new item Category. now, when I go to uncheck some of the boxes I checked in the "item type" page and press submit, it reloads the page as if i made no changes at all. any suggestions?

The problem is with the "two handed weapons" category. There are two specific columns that are being stubborn and that I can't uncheck. Every other column and item category checks and unchecks fine...

Koutaru 04-19-2003 01:01 AM

Just a quick question:

Can I make a user carry more than 3 items? I know it's possible but I'm not exactly sure where to start. Maybe if someone could point me in the right direction?

Jagang 04-19-2003 01:35 AM

Quote:

Today at 02:01 AM Koutaru said this in Post #1497
Just a quick question:

Can I make a user carry more than 3 items? I know it's possible but I'm not exactly sure where to start. Maybe if someone could point me in the right direction?

A user can carry 1 item from each Category. Starting off you only have 3 Categories, Weapons, Armor, and Items. Create a new Category and you will see another space open up in inventory.

Koutaru 04-19-2003 03:04 AM

Hmm I was thinking toward they can carry up to 10 items out of any categlory XD Can I do that? I'm a newbie in php but I'm sure if someone tells me what to look for to change, I'll figure it out

Zalastri 04-19-2003 04:22 AM

First off.. This is one hell of a hack. Good work. My members love it... hell.. my board is based on this hack now. I run a small RP community and this was a hell of a gift. Now then...

The whole user field/points system is a little wacky. You should make the VBhacker.php make a SET variable for money. Cauase for a while I had it displaying usernames as money >.>

Can you give me the code for your postbit that you had on that screenie?

For some reason my forum is very sluggish.. do you happen to have a database speedup php app?

Users should be able to have a whole inventory.. Not just one item. And you should make it so that on the home page you can just put something like $rpgnav and have a table with all the required RPG links on it.

Weapons should have spells that can sometimes cast.. Like poision effects.

Random encounters... Like.. If you view a post once out of every 70 tiems you get into a random battle with a wolf or something :D Happy coding and good job.

SavgeDusk 04-19-2003 04:27 AM

For reference I'm writing again what I wrote a while ago (sorry I wasn't around to answer your question. x_x;)

This is what I wrote:
I've got a quick question.
I have a forum called "Records" to keep all the battles played. But I was notified today that some of the battle records are out of order in the gameplay. For example, in the middle of the thread it would say
"[Attack executed]
[Name] died!"
And the next line in the thread would be another attack, and so on. So, the death/end of that battle was not in the right place. And possibly other attacks too.
How can this be fixed? Because I like having this forum there for reference in strategies about how to defeat high-stat members and whatnot.


And this is what you wrote back:
Can you verify that the 'lastactive' column in the `battle` table of your database has an integer value for all of the battles? If so, can you give me some of the values in the lastactive column?

Now my response. -- I'm pretty new to the whole database scene, so I don't know what you mean by "has an integer value for all of the battles". ^^;; Can you please explain what I need to show you in very simple terms? ^^;; Very sorry.

Also, I was wondering.. Is the only cause for any setting being reduced be changing its values in the AdminCP? Like, say I change a class's Reg. Attack, would that be the only cause for it to go down when a user with that effected class updates their stats?
Because some members are switching to another skin and their HP and EXP or something, go down. -- And it looks like every time a thread or post is deleted, their settings are effected. I don't know what to tell them. =/
I don't even know how EXP is gained. x_x; I thought it was by posting, but the only way I see is through battling.

And I know this is super annoying by now, but do you think it would be possible to add in or modify the "visible" thing to only Admin. Or add in an option like that for classes? Because I'd really like to have a special one for only Admin, and not have it accessible for Moderators. -- Instead of it being for Mod and Admin, can it be only for Admin? ^^;;

One more last question (sorry), how hard would it be to code in a "Clan" option? So that you can set it to add in specific members, so that regular members can't just add in themselves. Thanks!

lioncool1589 04-20-2003 08:52 PM

how do i disable retreat battle damn those ppl on my forum using that glitch to get mucho money

Moreliator 04-20-2003 11:42 PM

Bitsy - an update on the item type page in CPANEL:

I'm still having problems. It appears that two columns are mimicing other ones. For example, I have a fire and water category that give me trouble. Whenever I check an item to be available in the fire category, I hit update and when the page reloads it has it checkmarked on both the fire AND water columns! If I try to uncheck the moves from the water category, then press update, they just come right back after page reloads.

I can still uncheck the moves off the fire column. Once I do this, THEN I can also uncheck them from the water column and it works. HOWEVER.... as soon as I check them back on the fire column they come back checked on the water column too! please help.

BTW, I find it quite fascinating the the columns giving me trouble seem related:

For example, for me, the Category Column with the ID of 3 is always mimicing Category 13's check boxes, while the ID of column 2 is alwats mimicing Category 12's check boxes... is there a way to change the ID value...could this be the problem?

EDIT yep, that seems to be the problem. I tried deleting category 13, then adding a new category. It gave teh new category an ID of 17... and I bet you guessed it... The column representing category 7 now mimics every checkmark I place in the column representing category 17!!!! I would appreciate any help you can give. And now that I look closely, it appears that every category that has a counterpart in the teens is having this problem.

-More

Bitsys 04-21-2003 01:07 AM

Quote:

04-16-03 at 09:47 AM Rusty_Boi said this in Post #1489
i am getting this problem also..

well.. more or less... i fixed the dupilication thing. but when i choose Alignment or class... i get a "error on page" error. anyone have any ideas?

When you double-click the yellow exclamation point icon, what does the message box say the error is? Are you sure you didn't delete the javascript code at the top of the memberprofile template?

Quote:

04-17-03 at 07:33 AM PixelFx said this in Post #1491
Not sure if anyone has had this, but when I try to donate to another member with out anonamyous setting set, I get the following error.

server info:
PHP Version 4.3.1
Mysql: Client API version 4.0.12
Linux Redhat 7.3

Code:


Database error in vBulletin 2.3.0:

Invalid SQL: SELECT field5 FROM userfield WHERE userid=
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

Date: Thursday 17th of April 2003 12:10:44 AM
Script: http://www.xtremegames.ca/forum/forum/itemshop.php
Referer: http://www.xtremegames.ca/forum/item...n=donate&user=


in battlefight.php, find:
PHP Code:

That is a known bug.  For an explanationsee [url]https://vborg.vbsupport.ru/showthread.php?postid=362593#post362593[/url]

[QUOTE][i]04-17-03 at 07:01 PM [b]Jagang [/b]said this in [url=https://vborg.vbsupport.ru/showthread.php?postid=383591#post383591]Post #1495 [/url][/i]
[B]In the [b]Battle[/btablethe field [b]battlekey[/bis blank even though I set a password. If it helps I am running MySQL 3.23.41 [/B][/QUOTE]

If(
$battleopt[privacy] != && $battle[battlekey] != $battlekey) {

                eval(
"dooutput(\"".gettemplate('battle_badroom')."\");");
                exit;
                } 

and change it to:
PHP Code:

/*If($battleopt[privacy] != 0 && $battle[battlekey] != $battlekey) {

                eval("dooutput(\"".gettemplate('battle_badroom')."\");");
                exit;
                }*/ 

That will temporarily fix the problem by disabling the password check. This means that battles will be open to everyone.

Quote:

04-18-03 at 12:57 PM Moreliator said this in Post #1496
Bitsy,
I think I may have found a slight mistake in thh souce code in member.php for the stat updater

Code:

      if ($hpmulti > 7.5)
        $hpmulti = 3;
      if ($hpmulti > 2.5)
        $hpmulti = 1.5;
      if ($hpmulti < 1)
        $hpmulti = 1;

I think the last two need "else" statements:

Code:

      if ($hpmulti > 7.5)
        $hpmulti = 3;
      elseif ($hpmulti > 2.5)
        $hpmulti = 1.5;
      elseif ($hpmulti < 1)
        $hpmulti = 1;

The elseif probably isn't NECISARY on the last one.


ALSO, I seem to be having a problem with the item types in the admin panel. I recently added a new item Category. now, when I go to uncheck some of the boxes I checked in the "item type" page and press submit, it reloads the page as if i made no changes at all. any suggestions?

The problem is with the "two handed weapons" category. There are two specific columns that are being stubborn and that I can't uncheck. Every other column and item category checks and unchecks fine...


Thanks, that will be fixed in the next version. Also, the problem you are having with the item types will be fixed in the next version as well. Kudos on finding those two bugs :)

Quote:

04-18-03 at 10:04 PM Koutaru said this in Post #1499
Hmm I was thinking toward they can carry up to 10 items out of any categlory XD Can I do that? I'm a newbie in php but I'm sure if someone tells me what to look for to change, I'll figure it out
I believe you want users to have an inventory, correct? If so, then this is not possible. The original itemshop was designed so that users could only have one item per category.

Quote:

04-18-03 at 11:22 PM Zalastri said this in Post #1500
First off.. This is one hell of a hack. Good work. My members love it... hell.. my board is based on this hack now. I run a small RP community and this was a hell of a gift. Now then...

The whole user field/points system is a little wacky. You should make the VBhacker.php make a SET variable for money. Cauase for a while I had it displaying usernames as money >.>

Was it displaying usernames or RPG Names? If it was displaying RPG Names, then this means that in the Itemshop Options Menu in the admin CP the Points Field value was not correct. You should have adjusted this to the correct field # by doing the following procedure:

1. Go to your admin panel
2. Go to modify user profile fields
3. Find the Points profile field
4. Right click over the edit link and go to copy shortcut
6. Copy it in your browser
7. Near the end there will be a number. Remember that number
8. Go to edit the itemshop options
9. In the Points Field option put in field# and replace the # with the number you recorded in step 7.


Quote:

04-18-03 at 11:22 PM Zalastri said this in Post #1500
Can you give me the code for your postbit that you had on that screenie?
All of the code is located in the RPG Admin Manual.

Quote:

04-18-03 at 11:22 PM Zalastri said this in Post #1500
For some reason my forum is very sluggish.. do you happen to have a database speedup php app?
Unfortunately, I do not. There may be some people who can help you at www.vbulletin.com though.

Quote:

04-18-03 at 11:22 PM Zalastri said this in Post #1500
Users should be able to have a whole inventory.. Not just one item. And you should make it so that on the home page you can just put something like $rpgnav and have a table with all the required RPG links on it.
Although letting people add a variable such as $rpgnav would make it easier to start off with, I think most people would rather do the header themselves. This hack is already fairly standardized across forums so letting people do their own header makes the hack more forum-specific.

Quote:

04-18-03 at 11:22 PM Zalastri said this in Post #1500
Weapons should have spells that can sometimes cast.. Like poision effects.
The current battle format is not properly designed to handle status modifiers.

Quote:

04-18-03 at 11:22 PM Zalastri said this in Post #1500
Random encounters... Like.. If you view a post once out of every 70 tiems you get into a random battle with a wolf or something :D Happy coding and good job.
The PVM idea has been suggested before and discussed quite a bit. Feel free to do a search on this thread to read more about it.


Quote:

04-18-03 at 11:27 PM SavgeDusk said this in Post #1501
For reference I'm writing again what I wrote a while ago (sorry I wasn't around to answer your question. x_x;)

This is what I wrote:
I've got a quick question.
I have a forum called "Records" to keep all the battles played. But I was notified today that some of the battle records are out of order in the gameplay. For example, in the middle of the thread it would say
"[Attack executed]
[Name] died!"
And the next line in the thread would be another attack, and so on. So, the death/end of that battle was not in the right place. And possibly other attacks too.
How can this be fixed? Because I like having this forum there for reference in strategies about how to defeat high-stat members and whatnot.


And this is what you wrote back:
Can you verify that the 'lastactive' column in the `battle` table of your database has an integer value for all of the battles? If so, can you give me some of the values in the lastactive column?

Now my response. -- I'm pretty new to the whole database scene, so I don't know what you mean by "has an integer value for all of the battles". ^^;; Can you please explain what I need to show you in very simple terms? ^^;; Very sorry.

Everyone was new at one time :) Try this:
In phpmyadmin, click on your database name. From there, click on the table called `battle`. At the next screen, click "Browse". If the Browse link is not active, then create a battle and try again. Once browsing, look for the column called 'lastactive'. Tell me the values in that column for each row in the table.

Quote:

04-18-03 at 11:27 PM SavgeDusk said this in Post #1501
Also, I was wondering.. Is the only cause for any setting being reduced be changing its values in the AdminCP? Like, say I change a class's Reg. Attack, would that be the only cause for it to go down when a user with that effected class updates their stats?
Because some members are switching to another skin and their HP and EXP or something, go down. -- And it looks like every time a thread or post is deleted, their settings are effected. I don't know what to tell them. =/

If you do drastic changes to the classes/races/etc. and you want to have the effects applied right away, then you can go to the Mass Experience menu in the admin CP and do option #5. This will update all user's stats for you. Once you have done this, you can make an announcement stating the changes.

Quote:

04-18-03 at 11:27 PM SavgeDusk said this in Post #1501
I don't even know how EXP is gained. x_x; I thought it was by posting, but the only way I see is through battling.
To see how experience is gained, go to the Battle Options Menu and lok under the Experience Options heading.

Quote:

04-18-03 at 11:27 PM SavgeDusk said this in Post #1501
And I know this is super annoying by now, but do you think it would be possible to add in or modify the "visible" thing to only Admin. Or add in an option like that for classes? Because I'd really like to have a special one for only Admin, and not have it accessible for Moderators. -- Instead of it being for Mod and Admin, can it be only for Admin? ^^;;
Thinking about it.

Quote:

04-18-03 at 11:27 PM SavgeDusk said this in Post #1501
One more last question (sorry), how hard would it be to code in a "Clan" option? So that you can set it to add in specific members, so that regular members can't just add in themselves. Thanks!
It might be easy and it might be hard. I would suggest trying out the clan hack that was recently posted in the Beta forum.

Quote:

Today at 03:52 PM lioncool1589 said this in Post #1502
how do i disable retreat battle damn those ppl on my forum using that glitch to get mucho money
In battlefight.php, find:
PHP Code:

$retreat .= "<INPUT TYPE=\"RADIO\" NAME=\"charaction\" VALUE=\"retreat\">Retreat<BR>"

And change it to:
PHP Code:

//$retreat .= "<INPUT TYPE=\"RADIO\" NAME=\"charaction\" VALUE=\"retreat\">Retreat<BR>"; 

Quote:

Today at 06:42 PM Moreliator said this in Post #1503
Bitsy - an update on the item type page in CPANEL:

I'm still having problems. It appears that two columns are mimicing other ones. For example, I have a fire and water category that give me trouble. Whenever I check an item to be available in the fire category, I hit update and when the page reloads it has it checkmarked on both the fire AND water columns! If I try to uncheck the moves from the water category, then press update, they just come right back after page reloads.

I can still uncheck the moves off the fire column. Once I do this, THEN I can also uncheck them from the water column and it works. HOWEVER.... as soon as I check them back on the fire column they come back checked on the water column too! please help.

BTW, I find it quite fascinating the the columns giving me trouble seem related:

For example, for me, the Category Column with the ID of 3 is always mimicing Category 13's check boxes, while the ID of column 2 is alwats mimicing Category 12's check boxes... is there a way to change the ID value...could this be the problem?

EDIT yep, that seems to be the problem. I tried deleting category 13, then adding a new category. It gave teh new category an ID of 17... and I bet you guessed it... The column representing category 7 now mimics every checkmark I place in the column representing category 17!!!! I would appreciate any help you can give. And now that I look closely, it appears that every category that has a counterpart in the teens is having this problem.

-More


Thanks, that was exactly the information I needed to find the bug. It will be fixed in the next version.

Moreliator 04-21-2003 02:38 AM

Hey Bitsy,

We actually fixed it.... if you want the code we replaced in itemadmin.php just let me know, my AIM name is 'Moreliator'

If your getting the new version out soon, here is another thing you may want to fix: in GIVING gil, you can give letters. For donations, it won't let you, but if you arfe an admin/mod and you decide to give gil to a user, you can type in text like "egg" and it will screw up their financial account, heh. Just thought I'd let you know, although its not too much of a problem.

Once again, if you want that fix just let me know over AIM... may save you some time.

Keep up the good work. I'm goign to be opening battling on my server pretty soon... I'll let you know when its ready so you can take a look at how I implemented your hack on my site.

-more

Airs 04-21-2003 03:19 AM

The battling thins doesn't work when a peron has ' in their username.. it screws up and doesn't let the user do anything. and sends a load of error mails to the admin (me)

Red Blaze 04-21-2003 02:28 PM

I too found a bug. When I go to add hp, it won't add. For example I have 144hp and I want it to go up to 199. I have to add 55hp to get to 199, right? Well, I try adding the 55hp but it stays at 144. =/

Do you understand what I mean? I sound confusing. ^^;

Jagang 04-21-2003 05:43 PM

Quote:

Today at 03:28 PM Sonikku said this in Post #1507
I too found a bug. When I go to add hp, it won't add. For example I have 144hp and I want it to go up to 199. I have to add 55hp to get to 199, right? Well, I try adding the 55hp but it stays at 144. =/

Do you understand what I mean? I sound confusing. ^^;

Are you talking about the link in the postbit? If so, my understanding is this option is for refilling health like after a battle. Say the person comes out of battle and has 100 HP out of 144HP, then instead of going to the healer and paying to restore the health you can give him/her 44HP and refill them. I don't think it was designed to raise max levels. I may be wrong but this is my understanding of it and how it works on my board.

soccerclue 04-22-2003 07:29 AM

Hi,

Can someone help me. I am really screwed up right now. My forum is at http://www.asianguild.com Can someone tell me what's wrong in my forum's Edit Profile? The RPG profile are shown two times. I think I messed up with the database. Can anyone tell me where should I change it? And I can't find modifyprofile template. Can someone tell me in which section of template is it? And when I am in the RPGCP, whenever I click HP/MA/PP link, it won't show up. It says "No user specified. If you followed a valid link, please notify the webmaster" can someone please help me. Please help me. Thank you.

PSI|Dr-X 04-22-2003 12:36 PM

You didin't mess anything it's a error in this version :( wait until bytsis replies he will fix your problem

soccerclue 04-22-2003 02:37 PM

Are you sure that it is not working with version 2.3? Coz the first time I try, the link of HP..AP...in rpgcp.php is working. And those links are related with moderator.php files. I think there is some duplicate queries or missing queries I made or moderator.php file is wrong. And in the Edit Options part, that's member.php file, I don't know why the form duplicate for RPG fields. and other information messed up. I am afraid I deleted some used templates or duplicate some RPG datas? I really hope someone could help me this time. I am really screwed. :(

Moreliator 04-22-2003 08:47 PM

Well bitsy,

I gave it a go and allowed battling on my forums for one night, just to see how many glitches would arise.

A major glitch began to occur with some members' records. One had only participated in 5 battles. It showed his record as 25 wins though, and it showed that he only participated in 5!! He also obtained about 400 gil. this all happened after he pressed the "send reply" button to confirm a victory over another member.

Other members have a higher number of losses than they have even played.

I'm not sure if this helps you any. Do you have any suggestions for me to try out?

Stats and stuff seems fine. Only a couple members out of the hundreds playing had this problem.


Another very recent error is with One Hit KOs...kinda... Users reportedly get into a battle. The first person misses, then the second person selects fists. The refresh page shows the opponent dead.... but when it posts the battle results it never shows what move the guy did to kill the opponenet in one hit... its really odd.

EDIT: Alright, a little more info on the problem. I reset battle statistics and opened battling again. Everything went well, until it hit one of our members again. Here is how it happens:

The user is battling. In all of our cases he has been the challenger, going second, but this may not make a difference. When he refreshes the page, he experiences an error:

Quote:

There seems to have been a slight problem with the Smash World Forums database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.
He then refreshed, and when the page reloaded, his opponent had lost ALL of his HP. In the battle reports, it has his oppoenent dying for no reason at all... Could this be a problem from overload of the database? Immediately after this his battle stats go wild. He has like 74 wins even though his "total battles" column only reads like 5.

Thanks.
-More

soccerclue 04-22-2003 11:54 PM

Ok forget my previous post..i have found the error. However, i have a slight error in UserCP >> Edit Profile page. There are duplicate RPG Name fields in it. Can someone tell me which part should I fix? Is it in template and which one?

Airs 04-23-2003 11:54 AM

Biiiggg Error... On my forums a user got hacked and the hacker kept creating battles and stealing another users money.. from making challenges himself.

Bitsys 04-23-2003 07:04 PM

Quote:

04-20-03 at 09:38 PM Moreliator said this in Post #1505
Hey Bitsy,

We actually fixed it.... if you want the code we replaced in itemadmin.php just let me know, my AIM name is 'Moreliator'

If your getting the new version out soon, here is another thing you may want to fix: in GIVING gil, you can give letters. For donations, it won't let you, but if you arfe an admin/mod and you decide to give gil to a user, you can type in text like "egg" and it will screw up their financial account, heh. Just thought I'd let you know, although its not too much of a problem.

Once again, if you want that fix just let me know over AIM... may save you some time.

Keep up the good work. I'm goign to be opening battling on my server pretty soon... I'll let you know when its ready so you can take a look at how I implemented your hack on my site.

-more

I didn't do validation checks for mod/admin features because I figured they would know what they were doing, hence why you can enter words for gil.

Quote:

04-20-03 at 10:19 PM Airs said this in Post #1506
The battling thins doesn't work when a peron has ' in their username.. it screws up and doesn't let the user do anything. and sends a load of error mails to the admin (me)

Thanks, will be fixed in the next version.


Quote:

04-21-03 at 09:28 AM Sonikku said this in Post #1507
I too found a bug. When I go to add hp, it won't add. For example I have 144hp and I want it to go up to 199. I have to add 55hp to get to 199, right? Well, I try adding the 55hp but it stays at 144. =/

Do you understand what I mean? I sound confusing. ^^;


Does it add and stay for a little while but change when the user updates his/her stats? If so, then this is the way it is supposed to work. You cannot manually change the stats and expect them to stay. The updater overrides manual changes.

Quote:

Yesterday at 03:47 PM Moreliator said this in Post #1512
Well bitsy,

I gave it a go and allowed battling on my forums for one night, just to see how many glitches would arise.

A major glitch began to occur with some members' records. One had only participated in 5 battles. It showed his record as 25 wins though, and it showed that he only participated in 5!! He also obtained about 400 gil. this all happened after he pressed the "send reply" button to confirm a victory over another member.

Other members have a higher number of losses than they have even played.

I'm not sure if this helps you any. Do you have any suggestions for me to try out?

Stats and stuff seems fine. Only a couple members out of the hundreds playing had this problem.


Another very recent error is with One Hit KOs...kinda... Users reportedly get into a battle. The first person misses, then the second person selects fists. The refresh page shows the opponent dead.... but when it posts the battle results it never shows what move the guy did to kill the opponenet in one hit... its really odd.

EDIT: Alright, a little more info on the problem. I reset battle statistics and opened battling again. Everything went well, until it hit one of our members again. Here is how it happens:

The user is battling. In all of our cases he has been the challenger, going second, but this may not make a difference. When he refreshes the page, he experiences an error:



He then refreshed, and when the page reloaded, his opponent had lost ALL of his HP. In the battle reports, it has his oppoenent dying for no reason at all... Could this be a problem from overload of the database? Immediately after this his battle stats go wild. He has like 74 wins even though his "total battles" column only reads like 5.

Thanks.
-More


Can you send me a copy of the e-mail that was sent to Tech Support when the user got the database error?

Quote:

Yesterday at 06:54 PM soccerclue said this in Post #1513
Ok forget my previous post..i have found the error. However, i have a slight error in UserCP >> Edit Profile page. There are duplicate RPG Name fields in it. Can someone tell me which part should I fix? Is it in template and which one?

Go to your memberprofile template located under the User Options heading. Look for the two duplicate RPG Name blocks of HTML code and delete the one at the top.

Quote:

Today at 06:54 AM Airs said this in Post #1514
Biiiggg Error... On my forums a user got hacked and the hacker kept creating battles and stealing another users money.. from making challenges himself.

How am I supposed to prevent a user from getting hacked?

PSI|Dr-X 04-23-2003 08:59 PM

Quote:

Today at 12:54 PM Airs said this in Post #1514
Biiiggg Error... On my forums a user got hacked and the hacker kept creating battles and stealing another users money.. from making challenges himself.

Just ban that user -_- ..... because the user that has been hacked has probally reported to you else you wouldn't know he was hacked ... or just change the password and give it to the real account owner :bunny:

Moreliator 04-23-2003 09:49 PM

Quote:

Today at 08:04 PM Bitsys said this in Post #1515

Can you send me a copy of the e-mail that was sent to Tech Support when the user got the database error?


Hmm, well I'm getting so many emails now, that I';m not sure which one it was. But all of them are basically the same:

Quote:

Database error in vBulletin 2.3.0:

Invalid SQL: INSERT INTO battle_posts VALUES (NULL,'326','s'mores','8447','The 1337 Beast used his Scratch to deal 12 points of damage. Mediator tried to dodge, but was not successful. Mediator has died!!')
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'mores','8447','[I]The 1337 Beast used his Scratch to dea

mysql error number: 1064

Date: Tuesday 22nd of April 2003 08:00:03 PM
Script: http://smashboards.com///battleupdat...26&username=s\'mores&userid=8447&battlekey=Smashboards
Referer: http://smashboards.com//battlefight....ey=Smashboards
s'mores is the guy who has the really messed up battle record. I checked all the email errors I've been getting, and ever since the first guy got his record screwd up they have all been this '1064' error with similar messages:

Quote:

Database error in vBulletin 2.3.0:

Invalid SQL: INSERT INTO battle_posts VALUES (NULL,'333','s'mores','8447','The 1337 Beast was awarded $0 for winning the battle.')
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'mores','8447','[I]The 1337 Beast was awarded $0 for winn

mysql error number: 1064

Date: Tuesday 22nd of April 2003 08:05:57 PM
Script: http://smashboards.com///battleupdat...33&username=s\'mores&userid=8447&battlekey=smores
Referer: http://smashboards.com//battlefight....33&username=s\'mores&userid=8447&battlekey=smores

The only other email error message I receive is:

Quote:

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT field5 FROM userfield WHERE userid=
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

Date: Tuesday 22nd of April 2003 05:15:51 PM
Script: http://smashboards.com//itemshop.php
Referer: http://smashboards.com/itemshop.php?action=donate&user=
But that doesn't seem to be too big of a problem.


EDIT: Okay, I did more research, and it appears these problems are coming from the fact that people with a ' in their name are screwing up syntax. I reset battle standings and told the people with ' and & in their name not to play, and so far no problem.

Any ideas on that donation error? It appears members only have success donating through the profile.

PSI|Dr-X 04-24-2003 01:50 PM

When is the next version actually comming?

soccerclue 04-24-2003 06:34 PM

Hi,

I don't know why that everytime people go to battle, they can only use fists even if they have weapons and the HP always decreases 5 points everytime. I am using vb 2.3. Please check my forum at http://www.asianguild.com

Nintel 04-25-2003 12:22 AM

I need some help. I get this error:

Fatal error: Call to undefined function: getlevel() in /hsphere/local/home/side5411/forums.nintel.com/forums/admin/functions.php on line 383

and the coding around line 183 is:

// ###################### Start getforuminfo #######################
function getforuminfo (&$forumid) {
global $DB_site;
global $forumcache;

$forumid = intval($forumid);
if (!isset($forumcache[$forumid])) {
$forumcache[$forumid]=$DB_site->query_first("SELECT * FROM forum WHERE forumid='$forumid'");
}

return $forumcache[$forumid];
}

What's wrong?


All times are GMT. The time now is 02:31 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.03918 seconds
  • Memory Usage 2,005KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_php_printable
  • (41)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