News:

Wondering if this will always be free?  See why free is better.

Main Menu

Battle

Started by Chen Zhen, July 13, 2009, 08:44:54 AM

Previous topic - Next topic

DarkValentine

I installed a fresh copy of SMF 2.0RC3 on a subdomain on my server, to give this a test run and whatnot. Just to see how it operates.

While I am impressed by what I've seen on other forums that have this feature, everything installs fine on my end, up until the installScript.php file part. whether it is either a manual install, or package manager install, I get the following error that appears.


constraint failed

File: /home/generati/public_html/gn-battle/forum/installScript.php
Line: 554


This is what I get on that line. I opened up the file with Notepad++ to find the exact line. The image below, is of what is on that line.



Any assistance would be much appreciated.

scenerip2k

#121
something is wrong with this mod, when i installed this mod on SMF 2.0 RC2 every time i try to attack someone it always says "You do not got enough stanima, energy or health to make this attack"



how do i fix the problem?

Thanks

SA™

@DarkValentine i cant replicate this problemtryed it on sevaral servers and installes fine?

@scenerip2k you just need togo into battle admin shop and add an item for stamina then buy it
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

scenerip2k

i tried adding stamina under shop and it still says that i have the maximum stamina

SA™

oha i see it cos it is 0/0 run the attached insdtallscipr.php to update it that will put everybody stamina and max stamina to 100
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

scenerip2k

#125
okay the stamina is fixed now 100/100 the only thing i have problem with now is the energy 0/0 and  Attack: 1220/0

SA™

download the file i attached ealyer oopen it oin chnage stamina to energy and max_stamina to max_energy then reupload and run again
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

scenerip2k

thanks for the help, everything works fine!

DarkValentine

#128
Quote from: Sleepy Arcade on March 31, 2010, 01:57:13 PM
@DarkValentine i cant replicate this problemtryed it on sevaral servers and installes fine?

I ran a second check. It's claiming it is a database related error. However, since this is a fresh install, and the database is still new, I don't see what the problem is, nor why this error is happening.

I'll have to go back and check it again, to see exactly what's wrong. I'll get back to you, if I find the root of the problem.


It now started to work on it's own, and install properly. Looks like it fixed itself. Thanks for the help anyway.

rd

How stable is this mod? I want to use it.

SA™

it is ok not saying it is bugless tho cos it is rc try it on a test forum or take a look at the demo on my dev site

http://www.sa-mods.info/index.php
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

rd

I had it installed for over 5 months now, it's here: http://duke.xadro.net/index.php?action=battle
you have to be a member though.

Anyway, one of my friend had to fix many things like gold glitches (stop people from reloading and getting more gold) then there was a bug where you get more gold then the money (something like that), etc.
But, I think that was the old version but anyway, we fixed all the bugs in the old version (I'm pretty sure).

SA™

yeah sound like the older version but i seemed to open up some of these holes again when  i redone the shop
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

rd

I think I'll wait for it then.. Btw, your FB connect is awesome.

SA™

thanks :) ill will try to get an update for this this week
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Kratty256

I'm trying to add custom monsters using my own images. I've already uploaded the .png images to the /battle/monsters directory for all themes. When I try to add the monster image the image does not appear.

Any help?

MATTEK

Failure on install

Quote10.   Execute Modification   .Themes/default/Display.template.php   Test failed
   1.   Add After   .Themes/default/Display.template.php   Test failed
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

SA™

@Andrew94 try clearing you forum cache?

@MATTEK your have to make that edit manualy
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

MATTEK

Quote from: Sleepy Arcade on June 13, 2010, 04:01:37 PM
@Andrew94 try clearing you forum cache?

@MATTEK your have to make that edit manualy

Damn. I'm not the best at that.  :-\
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

SA™

install it then post up the file Display.template.php   and i can do it for you ? the mod will still work woth out just it wont show stats in post profile
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Advertisement: