Crc Check troubles
by Wayne Eversole · in Torque Game Engine · 09/07/2008 (6:58 am) · 2 replies
Hello everyone.
I am using this resource http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4085
I have the latest TGEA and everything compiles fine.
My troubles are that when I regester the user from the php file and it creates there username and pssword it gives
me a - number on my crc password.
Example -662733300
It should be something like 331058520
Any ideas?
Thanks
I am using this resource http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4085
I have the latest TGEA and everything compiles fine.
My troubles are that when I regester the user from the php file and it creates there username and pssword it gives
me a - number on my crc password.
Example -662733300
It should be something like 331058520
Any ideas?
Thanks
About the author
#2
and it still does not work. I have found that the user name and password gets passed to the php file and the php file is suppose to send an ok back to tgea on the first line but what is happing is that my php info is getting sent back insted. Here is part of my console long.
Connect request from:
Connection established 5520
---------------Username = test Password = test--------------
CADD: 5521 local
<<<< saving server datablock cache >>>>
<<<< sending CRC to client: -1087076594 >>>>
*** Sending mission load to client: scriptsAndAssets/data/missions/AFX_TGEA_Demo_DAY.mis
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Mapping string: MsgLoadInfo to index: 2
Mapping string: MsgLoadDescripition to index: 3
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgClientJoin to index: 5
Mapping string: Welcome to the Torque demo app %1. to index: 6
Mapping string: test to index: 7
Mapping string: MissionStartPhase1 to index: 8
*** New Mission: scriptsAndAssets/data/missions/AFX_TGEA_Demo_DAY.mis
*** Phase 1: Download Datablocks & Targets
<<<< client datablock cache does not exist, datablocks will be transmitted and cached. >>>>
Mapping string: MissionStartPhase1Ack to index: 0
- HTTP/1.1 200 OK
CDROP: 5521 local
- Date: Tue, 09 Sep 2008 03:41:28 GMT
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
- Server: Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8d mod_autoindex_color PHP/5.1.6
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
- X-Powered-By: PHP/5.1.6
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
- Content-Length: 89
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
- Content-Type: text/html
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
-
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
Anyone have any ideas on how to keep the php header files or so forth from displaying?
Thanks
09/08/2008 (8:48 pm)
Well I thank I found my troubles. I went and took out all the crc stuff and just passed a plain username and passwordand it still does not work. I have found that the user name and password gets passed to the php file and the php file is suppose to send an ok back to tgea on the first line but what is happing is that my php info is getting sent back insted. Here is part of my console long.
Connect request from:
Connection established 5520
---------------Username = test Password = test--------------
CADD: 5521 local
<<<< saving server datablock cache >>>>
<<<< sending CRC to client: -1087076594 >>>>
*** Sending mission load to client: scriptsAndAssets/data/missions/AFX_TGEA_Demo_DAY.mis
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Mapping string: MsgLoadInfo to index: 2
Mapping string: MsgLoadDescripition to index: 3
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgClientJoin to index: 5
Mapping string: Welcome to the Torque demo app %1. to index: 6
Mapping string: test to index: 7
Mapping string: MissionStartPhase1 to index: 8
*** New Mission: scriptsAndAssets/data/missions/AFX_TGEA_Demo_DAY.mis
*** Phase 1: Download Datablocks & Targets
<<<< client datablock cache does not exist, datablocks will be transmitted and cached. >>>>
Mapping string: MissionStartPhase1Ack to index: 0
- HTTP/1.1 200 OK
CDROP: 5521 local
- Date: Tue, 09 Sep 2008 03:41:28 GMT
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
- Server: Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8d mod_autoindex_color PHP/5.1.6
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
- X-Powered-By: PHP/5.1.6
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
- Content-Length: 89
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
- Content-Type: text/html
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
-
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
scriptsAndAssets/server/scripts/game.cs (659): Unable to find object: '5521' attempting to call function 'delete'
Anyone have any ideas on how to keep the php header files or so forth from displaying?
Thanks
Torque Owner Wayne Eversole
Default Studio Name
It does not matter to me what it is as long as it php or mysql compatable and the login part I would like to be client side but if not I can still work with it.
Thanks