Author Topic: Extended Battle  (Read 4683 times)

Gohan

  • Guest
Extended Battle
« 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: [Select]
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?

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Extended Battle
« 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.
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
Re: Extended Battle
« Reply #2 on: September 18, 2008, 08:52:06 am »
ok.

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Extended Battle
« Reply #3 on: September 18, 2008, 09:25:51 am »
Though thanks for the notice =)
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
Re: Extended Battle
« Reply #4 on: September 18, 2008, 11:18:48 am »
No problamo!