![]() |
![]() ![]() |
![]() |
BadLife |
![]()
Post
#81
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 144 Joined: 15-November 03 Member No.: 111 ![]() |
![]() ![]() Hum can't seem to past it here ![]() So I'll put it as a zip did not get the stack info ![]() ![]() Attached File(s) ![]() |
LordSkitch |
![]()
Post
#82
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
Mine crashed, but it was metamod... stupid metamod, crashin my server. psssshhhhh.
![]() |
Flash24 |
![]()
Post
#83
|
||
![]() Member ![]() ![]() Group: Members Posts: 16 Joined: 20-June 04 Member No.: 328 ![]() |
u cant verify ur coding for this pls because now that not work with me with steam id is cool because that is auto logon ![]() |
||
Cheeseh |
![]()
Post
#84
|
||
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
Badlife, are you using the latest dll that I posted? Because if you are, the source code is outdated and will show a crash at the wrong location as the dll is different. I'll need to update the source. To back me up, it looks like a stupid place for it to crash, pPlayer was not null as you can see from your watch's, so I don't know why it would have crashed there. I'll update the source now for you to try again. You will also need to re-download the DLL on the first post which I updated for debugging, as I changed something, I can't remember what, but to be on the safe side...
The if statement was dereferencing a pointer. The pointer was NULL, so "bam", crash... I guess it appened because of the few FinishedCurrentTask() function calls in the task execution. Especially when a gorge builds something it calls this function, if it has no more tasks execpt its current it will finish current task and has nothing left, when the task finishing code still thinks there is a current task to be completed. And flash, jesus christ, remember what I said before. Look at the console for things that [rcbot>] says when it reads the bot users, have you even tried the "rcbot users readusers" command yet that you so wanted me to do???? Are you even using the latest dll file? |
||
LordSkitch |
![]()
Post
#85
|
||
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
Hehe, yeah I guess that would be bad.. Well, somethin' freakin' blew up, and my power went out, and like a loser I don't have UPS on my server, so I couldn't see if it crashed overnight or not.. So I'll re-start her and see if its crashy or not.. And flash, did you TRY logging in using any random password? With mine, it doesn't auto-log me in, I have to do rcbot set_pass anypasswordyouwant You might be able to stick it in your autoexec.cfg file or something.. |
||
Cheeseh |
![]()
Post
#86
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
that's weird it auto-logs me in okay....
![]() |
LordSkitch |
![]()
Post
#87
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
...im gonna go try real quick, its probably autologging me in im just a loser.
![]() yep, im just a loser, it autologs me in. ![]() |
BadLife |
![]()
Post
#88
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 144 Joined: 15-November 03 Member No.: 111 ![]() |
I compiled the dll I was useing form the last source you posted. So it should be correct as far as that goes
![]() ![]() |
BadLife |
![]()
Post
#89
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 144 Joined: 15-November 03 Member No.: 111 ![]() |
![]() ![]() |
BadLife |
![]()
Post
#90
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 144 Joined: 15-November 03 Member No.: 111 ![]() |
UNHANDLED EXCEPTION in hl.exe(HPB_bot.dlll) 0x0000005: Access Viloation
I recompiled it has the debug info went south in the same place file attached ![]() Attached File(s) ![]() |
Cheeseh |
![]()
Post
#91
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
that's a silly crash. Looks like a memory overwrite? Why would a client be stored if there is no client edict stored? me reads my stuff etc... are you using WON?
ps: of course you need to compile with debug info, use the win32 debug or win32 metamod debug (if using metamod version) profile in MSVC... I'm not sure if I can trust that crash log... it might be right, it might be in the wrong place... but I dunnno, even if you are using the release dll when debugging (by mistake) sometimes it gives you the right info. |
Flash24 |
![]()
Post
#92
|
![]() Member ![]() ![]() Group: Members Posts: 16 Joined: 20-June 04 Member No.: 328 ![]() |
cheeseh my auto log with steam id not work because i have 3 steamid in users bot ini
![]() pls watch ur code ![]() yest i have last source |
Cheeseh |
![]()
Post
#93
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
eh?
![]() |
BadLife |
![]()
Post
#94
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 144 Joined: 15-November 03 Member No.: 111 ![]() |
Yes it is the WON version I don't like steam very much. It always crashes in the same place.
![]() |
Cheeseh |
![]()
Post
#95
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
I guessed that since steam ID string is defined before the m_pPlayer which could be causing problems. I would disable steam id reading if I knew how to detect if running a WON game, although I am unsure how to detect so..
|
BadLife |
![]()
Post
#96
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 144 Joined: 15-November 03 Member No.: 111 ![]() |
![]() ![]() ![]() ![]() |
Sandman[SA] |
![]()
Post
#97
|
![]() RCBot Waypointer ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 987 Joined: 15-September 03 From: Philadelphia Member No.: 19 ![]() |
You have no steamid or wonid in offline mode. You can only use loopback or username.
|
Cheeseh |
![]()
Post
#98
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
If you host a listenserver anyway, you automatically have access to everything, same with dedicated server console
|
BadLife |
![]()
Post
#99
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 144 Joined: 15-November 03 Member No.: 111 ![]() |
![]() ![]() ![]() |
Cheeseh |
![]()
Post
#100
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
I can put checks in to make sure the steam id is valid... i thoguth it would always be valid.. I was going to test it but I cant seem to run steam in offline mode, or don't know how to!!
![]() |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 23rd June 2025 - 04:04 AM |