IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> 1.0f Errors, Dev Members Read Please :)
Kez
post Jul 31 2006, 12:37 PM
Post #1


Sergeant Major
****

Group: Members
Posts: 90
Joined: 16-November 04
From: uk
Member No.: 3,195



Hi, i recompiled 1.0f in debug mode and i ran the bg.dll as a dedicated windows server, i get about 10 errors that keep repeating, do any of you know what they mean?, i know you have stopped working on this, i am learning c++ so i can try and fix it myself, i did search in wavelength and on google but i can't find anything, i would be gratefull for any help you have to offer, thanks. smile.gif

CODE

L 07/31/2006 - 13:32:30: "<R@> Kez<1><STEAM_0:1:695824><-1>" joined team "Americans"
L 07/31/2006 - 13:32:30: "<R@> Kez<1><STEAM_0:1:695824><Americans>" changed role to "Continental Soldier"
Can't find address: 0c7011a9
ERROR:  No EXPORT: weapon_Charleville:&CBasePlayerItem::DefaultTouch (0c7011a9)
Can't find address: 0c70130c
ERROR:  No EXPORT: weapon_Charleville:&CBasePlayerItem::FallThink (0c70130c)
Can't find address: 0c703bca
ERROR:  No EXPORT: func_breakable:&CBreakable::BreakTouch (0c703bca)
Can't find address: 0c703099
ERROR:  No EXPORT: weapon_Charleville:&CBasePlayerItem::SUB_Remove (0c703099)
Can't find address: 0c7011a9
ERROR:  No EXPORT: weapon_Charleville:&CBasePlayerItem::DefaultTouch (0c7011a9)
Can't find address: 0c70130c
ERROR:  No EXPORT: weapon_Charleville:&CBasePlayerItem::FallThink (0c70130c)
Go to the top of the page
 
+Quote Post
gRanTeLbArT
post Jul 31 2006, 02:50 PM
Post #2


aaaaaa | TRR scream team
Group Icon

Group: Retired Team Members
Posts: 5,281
Joined: 9-October 04
Member No.: 3,115



there is another dll, client.dll. maybe you find some errors there too


--------------------
The Elders have foreseen victory this day!
Member of the TRR scream team.
Go to the top of the page
 
+Quote Post
Kez
post Jul 31 2006, 03:12 PM
Post #3


Sergeant Major
****

Group: Members
Posts: 90
Joined: 16-November 04
From: uk
Member No.: 3,195



I compiled both dll's but the only errors i see so far are coming from the bg.dll, but i will test both smile.gif


btw the map was bg_battlefield.

This post has been edited by Kez: Jul 31 2006, 03:13 PM
Go to the top of the page
 
+Quote Post
3DDEATH
post Jul 31 2006, 10:10 PM
Post #4


Major
*******

Group: Members
Posts: 936
Joined: 26-March 04
Member No.: 2,430



QUOTE(Kez @ Jul 31 2006, 03:12 PM) [snapback]23585[/snapback]

I compiled both dll's but the only errors i see so far are coming from the bg.dll, but i will test both smile.gif


btw the map was bg_battlefield.


Your on the right track, just before the release of 1.0f I ask for a early copy and found it didnt work so it had to be recompiled, but then it worked or did it as we have found out. The problem lies in the bg.dll file I believe.


--------------------




QUOTE (gRanTeLbArT @ Aug 25 2007, 02:47 PM) *
I will tell you what I think, this is horrible. Like all the other remakes of BG1 maps. There is a reason why we do not do that in any form. Do not bother to remake old bg1 maps. BG1 was a totally different game as draco pointed out and the maps are not going to work out on BG2.






Rejoice in thy youth,soon it will be gone
Go to the top of the page
 
+Quote Post
Kez
post Aug 2 2006, 08:55 PM
Post #5


Sergeant Major
****

Group: Members
Posts: 90
Joined: 16-November 04
From: uk
Member No.: 3,195



I had battlefield running and the cannon bug caused an error.

The arrow was pointing at this line (966) in combat.cpp
CODE

            char szWeaponName[256];
            CBaseWeapon *pWeapon = GetClassPtr((CBaseWeapon*)pevInflictor);
-->              if(pWeapon && pWeapon->pData && !(strcmp(STRING(pevInflictor->classname), "weapon_Bayonet")))
            {



killer_weapon_name was "mortar"

pWeapon = 0x064cefa0

First-chance exception in hlds.exe (BG.DLL): 0xC0000005: Access Violation.

I hope this is of some use.

This post has been edited by Kez: Aug 2 2006, 08:56 PM
Go to the top of the page
 
+Quote Post
Joc
post Aug 2 2006, 10:00 PM
Post #6


-[TRR]- Cadet/RGL Leader
****

Group: Members
Posts: 76
Joined: 21-July 06
Member No.: 4,925



Quoting directly from Slash,"There won't be a fix or update to BG1.0F. This is what you're stuck with forever."

You can look at the topic if you want to see for yourself. http://forums.bgmod.com//index.php?showtopic=2242

So waste your time if you want, actually please do. This is the last fix or update for BG 1 forever. So please continue.
Go to the top of the page
 
+Quote Post
Kez
post Aug 2 2006, 10:10 PM
Post #7


Sergeant Major
****

Group: Members
Posts: 90
Joined: 16-November 04
From: uk
Member No.: 3,195



Here is the line that causes servers to crash on suicides.
This happened on bg_clff when someone fell from a height and died, about 3 seconds after a new player joined the server and spawned.

Arrow is pointing at line 367 in cbase.h

CODE


    virtual bool FBecomeProne( void ) {return false;};
--->   edict_t *edict() { return ENT( pev ); };
    EOFFSET eoffset( ) { return OFFSET( pev ); };
    int      entindex( ) { return ENTINDEX( edict() ); };



I hope it is of some help smile.gif
Go to the top of the page
 
+Quote Post
Ben
post Aug 3 2006, 03:46 PM
Post #8


Render's Big Man
Group Icon

Group: Admin
Posts: 132
Joined: 8-July 02
Member No.: 2



Using debug dll's in certain situations for hl1 will get you those export errors. The crash looks like something I had once.

mortar is either the cannon or explosions, I'm fairly sure it is the cannon

For some reason being killed via a cannon is being handled as if it was a weapon rather than a world event. As a cannon isn't a weapon it won't have the structure pData points to. Can't remember how I fixed it exactly, but I have a rough idea it is to do with whether the inflicter/attacker passed to the make damage routines is the cannon or the player using the cannon.
Go to the top of the page
 
+Quote Post
Kez
post Aug 3 2006, 04:07 PM
Post #9


Sergeant Major
****

Group: Members
Posts: 90
Joined: 16-November 04
From: uk
Member No.: 3,195



Thanks, i really don't know much about how the mod works, i only have a rough idea, i made a fix for the cannon crash by checking if the kill was with "mortar" and if it was it bypassed the code that caused the crash, the other bug with suicides was caused by a person dying and spectating the killer and then the killer dying by suicide or falling from a high distance, i fixed that by just not allowing you to spec your killer.
There is one more problem with players being able to use any model, when i have learned more i will try to fix that too lol smile.gif

Thanks for all our help tho, i olny play bg so i would like it to be as stable as it can be smile.gif
Go to the top of the page
 
+Quote Post
Spoofer
post Aug 3 2006, 04:36 PM
Post #10


I ate all your bees.
**

Group: Validating
Posts: 47
Joined: 14-December 03
Member No.: 2,127



I really don't like the idea of not being able to spectate your killer. Please find an alternate workaround for that... And I believe that the spectating your killer theory is bogus anyway. I've joined -=ICE=- as the only player, suicided, and it still sometimes crashed.

EDIT: Wait Kez may be right. happy.gif

This post has been edited by Spoofer: Aug 3 2006, 07:01 PM
Go to the top of the page
 
+Quote Post
Kez
post Aug 3 2006, 05:04 PM
Post #11


Sergeant Major
****

Group: Members
Posts: 90
Joined: 16-November 04
From: uk
Member No.: 3,195



QUOTE(Spoofer @ Aug 3 2006, 05:36 PM) [snapback]23728[/snapback]

I really don't like the idea of not being able to spectate your killer. Please find an alternate workaround for that... And I believe that the spectating your killer theory is bogus anyway. I've joined -=ICE=- as the only player, suicided, and it still sometimes crashed.


All spectate is doing, is what it was in 1.2.1 i'm sorry but i only installed c++ on 31st july, as soon as i can learn it well enough then i will fix it , unless someone else that knows it better can instead?

If you go on a server with a map like bg_cliff, kill someone then suicide and the server will crash instantly, it is the observer code that's doing it.
Go to the top of the page
 
+Quote Post
H(x)m3m do S@co
post Sep 15 2006, 05:44 AM
Post #12


Sergeant
***

Group: Members
Posts: 52
Joined: 27-January 06
Member No.: 4,397



Great job Kez!
Keep fixing!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 21st January 2020 - 07:10 AM