nb Core Community
February 10, 2012, 08:29:00 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: 1.2.3 +nb is now final and released

@new registrations. I will not allow any new registrations here as there are more (real person) spambots here than ever.... captcha proved to be ineffective.

After your registration, mail me at ( admin AT shinobilegends.com ) from the mail address you want to register. Provide some text about you and possibly your game.
 
   Home   Help Search Calendar Downloads Login Register  
Pages: [1]
  Print  
Author Topic: Extended Battle  (Read 1289 times)
Gohan
Guest
« on: September 18, 2008, 01:31:02 am »

Hey, found this when I first installed 1.2.0 +nb, had a look at that code but I'm stumped.

First on a new day I get this
Code:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in C:\wamp\www\lotgd-1.2.0-nightborn\lib\extended-battle.php on line 296

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in C:\wamp\www\lotgd-1.2.0-nightborn\lib\extended-battle.php on line 394

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in C:\wamp\www\lotgd-1.2.0-nightborn\lib\extended-battle.php on line 411

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in C:\wamp\www\lotgd-1.2.0-nightborn\lib\extended-battle.php on line 437

And again something like it during any forest fight etc.

Any thoughts?
Logged
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 306



View Profile WWW
« Reply #1 on: September 18, 2008, 08:38:02 am »

Alright, my php 5 version did not report it really, so ...

Seems php5 already passes them by reference - and makes only copies if necessary.
A bit bad if you want change the original value like in c++, but well.

Updated.
Logged

It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro
Gohan
Guest
« Reply #2 on: September 18, 2008, 08:52:06 am »

ok.
Logged
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 306



View Profile WWW
« Reply #3 on: September 18, 2008, 09:25:51 am »

Though thanks for the notice =)
Logged

It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro
Gohan
Guest
« Reply #4 on: September 18, 2008, 11:18:48 am »

No problamo!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!