Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bug Report (https://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   bitwise operations no longer working serverside! (https://forums.graalonline.com/forums/showthread.php?t=134269479)

Jakov_the_Jakovasaur 08-15-2014 08:08 PM

bitwise operations no longer working serverside!
 
hello!

after doing the following:

PHP Code:

  temp.2;
  echo(
temp.a);
  
temp.&= ~2;
  echo(
temp.a); 

this is being output:

PHP Code:

2


on clientside however it outputs:

PHP Code:

2


are bitwise operations broken on serverside or am i going senile?

if they are broken this should be fixed asap

Jakov_the_Jakovasaur 08-23-2014 04:47 PM

has nobody else been able to reproduce this?

i think its a serious problem

Crono 08-23-2014 07:12 PM

Quote:

Originally Posted by Jakov_the_Jakovasaur (Post 1730390)
has nobody else been able to reproduce this?

i think its a serious problem

Who's going to fix it? :p

Restraint 08-23-2014 07:18 PM

I have run into an issue in the past with the Graal serverside where "&=" is what was failing to register properly, but even then it wasn't giving me '2' as in your case it was just giving me nulls or something.

I fixed it with something like "a = @b & @(~c);"

Graal is down at the moment so I can't verify or look it up.

Jakov_the_Jakovasaur 08-23-2014 07:37 PM

Quote:

Originally Posted by Crono (Post 1730398)
Who's going to fix it? :p

i dont know!

but what were dismissed by a few as "rumors" certainly seem to have at least some credence to them!

Quote:

Originally Posted by Restraint (Post 1730400)
I have run into an issue in the past with the Graal serverside where "&=" is what was failing to register properly, but even then it wasn't giving me '2' as in your case it was just giving me nulls or something.

I fixed it with something like "a = @b & @(~c);"

Graal is down at the moment so I can't verify or look it up.

unfortunately this method does not appear to be working

Restraint 08-23-2014 07:46 PM

Quote:

Originally Posted by Jakov_the_Jakovasaur (Post 1730403)
i dont know!

but what were dismissed by a few as "rumors" certainly seem to have at least some credence to them!

I know something about the subject. I can't say much, but what I can say is that there are still people to fix bugs that are reported.

Quote:

Originally Posted by Jakov_the_Jakovasaur (Post 1730403)
unfortunately this method does not appear to be working

Sorry, then. I'd love to help you figure out what the problem is, but I can't even connect at the moment.

What exactly are you doing with bitwise operations, anyway?

Jakov_the_Jakovasaur 08-23-2014 08:02 PM

Quote:

Originally Posted by Restraint (Post 1730407)
What exactly are you doing with bitwise operations, anyway?

what i am doing with them is inconsequential to the problem, i am just communicating bitflags between clientside and serverside as opposed to lots of separate boolean parameters, and thats why i noticed it was working fine on clientside

Jakov_the_Jakovasaur 09-14-2014 03:52 PM

is this going to be fixed?

for any server which uses bitwise operations as an optimisation this is a potentially huge problem

alskdjfhg 09-14-2014 09:10 PM

I don't even know who Graal's primary coder is. I doubt they have anyone or will ever get anyone to work on the client (or anything to do with client version) anymore at this point

Jakov_the_Jakovasaur 09-14-2014 09:33 PM

Quote:

Originally Posted by alskdjfhg (Post 1731089)
I don't even know who Graal's primary coder is. I doubt they have anyone or will ever get anyone to work on the client (or anything to do with client version) anymore at this point

in this case the client is fine, the problem is serverside

scriptless 09-14-2014 10:17 PM

Quote:

Originally Posted by alskdjfhg (Post 1731089)
I don't even know who Graal's primary coder is. I doubt they have anyone or will ever get anyone to work on the client (or anything to do with client version) anymore at this point

Unixmad I believe is primary however he works with other people not just 1 for preparing ios client release. Those people will probably be helping g pc aswell.

Jakov_the_Jakovasaur 09-15-2014 04:03 PM

can somebody who works on a mobile server pretend that bitwise operations are used on serverside so this can be fixed?

Cubical 09-15-2014 04:04 PM

brb pretending

callimuc 09-15-2014 04:36 PM

Quote:

Originally Posted by Jakov_the_Jakovasaur (Post 1731102)
can somebody who works on a mobile server pretend that bitwise operations are used on serverside so this can be fixed?

Give me something where it could be very important, I'll do so!

BlueMelon 09-15-2014 06:40 PM

Quote:

Originally Posted by Jakov_the_Jakovasaur (Post 1731102)
can somebody who works on a mobile server pretend that bitwise operations are used on serverside so this can be fixed?

If anything, they should be using them on mobile servers to increase performance... :asleep:


All times are GMT +2. The time now is 01:11 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.