DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • September 29, 2016, 04:46:56 AM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1]   Go Down
  Print  
Author Topic: Battle.php  (Read 2678 times)
0 Members and 1 Guest are viewing this topic.
orochi
Guest
« on: May 29, 2004, 11:27:06 AM »

lately iv been getting a "Parse error: parse error, unexpected T_DOUBLE_ARROW in W:\www\loe\battle.php on line 1435" everytime someone trys to fight a mob (not other players) and iv modded battle.php a bit...

can someone take a look?

http://allstar.sytes.net/loe/battle.php.txt
Logged
Excalibur
Member
Mod God
*****
Offline Offline

Posts: 573


I'm a newbie, plz forgive me!


View Profile WWW
« Reply #1 on: May 29, 2004, 01:24:35 PM »

lately iv been getting a "Parse error: parse error, unexpected T_DOUBLE_ARROW in W:\www\loe\battle.php on line 1435

LOL, the latest line of code is numbered 1057 How could you get error at line 1435 ? Huh

Anyway at line 723 you miss a ".
Search for:
Code:
                 "badguyatkmod=>0,
and substitute it with:
Code:
                 "badguyatkmod"=>0,

After this correction, my editor shows the code correct.

Hope this help

Rgds Excalibur
Logged

Spock: Random chance seems to have operated in our favor.
McCoy: In plain, non-Vulcan English, we've been lucky.
Spock: I believe I said that, Doctor.
orochi
Guest
« Reply #2 on: May 30, 2004, 01:19:53 PM »

i did what you said and now i get:

Parse error: parse error, unexpected T_DOUBLE_ARROW in W:\www\loe\battle.php on line 2869
Logged
Excalibur
Member
Mod God
*****
Offline Offline

Posts: 573


I'm a newbie, plz forgive me!


View Profile WWW
« Reply #3 on: May 30, 2004, 02:49:02 PM »

Parse error: parse error, unexpected T_DOUBLE_ARROW in W:\www\loe\battle.php on line 2869
I still don't understand how your editor works. That script has 1059 lines  Huh Huh
Anyway, you miss completely a line of code. Find
Code:
"startmsg"=>"`n`^You pound on the ground and bugs cover {badguy}.`n`n",
Before it add:
Code:
$session[bufflist]['na4'] = array(
I've tested it on my local server and it seems to work.

Excalibur
Logged

Spock: Random chance seems to have operated in our favor.
McCoy: In plain, non-Vulcan English, we've been lucky.
Spock: I believe I said that, Doctor.
orochi_to_lazy_to_login
Guest
« Reply #4 on: May 31, 2004, 07:23:23 AM »

nown it goes back to the 30 second thing Tongue but its my server... thanks for the help xcal  Grin
Logged
Excalibur
Member
Mod God
*****
Offline Offline

Posts: 573


I'm a newbie, plz forgive me!


View Profile WWW
« Reply #5 on: May 31, 2004, 08:03:14 AM »

nown it goes back to the 30 second thing Tongue but its my server... thanks for the help xcal  Grin
Which 30 second thing ? Huh
Sorry but my english is not so good and I don't understand what you mean with it.
Does it works now or do you still get an error ?

Cheers Excalibur
Logged

Spock: Random chance seems to have operated in our favor.
McCoy: In plain, non-Vulcan English, we've been lucky.
Spock: I believe I said that, Doctor.
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Who's Online
48 Guests, 0 Users
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search