|
You last visited: Today at 22:48
Advertisement
PInvoke Call Bug (Hybird's Source Bug)
Discussion on PInvoke Call Bug (Hybird's Source Bug) within the CO2 Private Server forum part of the Conquer Online 2 category.
06/07/2011, 21:14
|
#1
|
elite*gold: 0
Join Date: Dec 2010
Posts: 97
Received Thanks: 11
|
PInvoke Call Bug (Hybird's Source Bug)
watch the vid you understand everything
this is the 5379+ source for hybird i think
i can't debug the game idk why, i understood from the error that there is things in 32bit and others in 64bit so there's a balancement, but putting the project 32bit or 64bit doesn't change anything
note: when i put the 64bit and i fix everybug , i get the same Pinvoke error
|
|
|
06/07/2011, 22:05
|
#2
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
|
Search the release section for calling conventions, i posted the fix for this in anouther thread like 6 months ago.
|
|
|
06/07/2011, 22:14
|
#3
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
|
Oh, I had the exact same problem a while ago, go to your dllimport thingy and look for something like this:
[DllImport("nameofdllwithproblem")]
And change it to:
[DllImport("nameofdllwithproblem", CallingConvention = CallingConvention.Cdecl)]
|
|
|
06/07/2011, 22:38
|
#4
|
elite*gold: 0
Join Date: Dec 2010
Posts: 97
Received Thanks: 11
|
worked thx, but now i launched the auth and game server, turned hamachi On, logged in and i found the source offline
note : sorry for disturbance guys but i really want to try this source
|
|
|
06/07/2011, 22:46
|
#5
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
|
Well all I can say is check if you use the correct ports.
|
|
|
06/08/2011, 08:14
|
#6
|
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
|
Quote:
Originally Posted by Kiyono
Well all I can say is check if you use the correct ports.
|
Yup. I did the same mistake, because nullables loader is set to different ports
|
|
|
06/08/2011, 10:42
|
#7
|
elite*gold: 0
Join Date: Dec 2010
Posts: 97
Received Thanks: 11
|
Guys, look what i found in Auth Processor.cs
Quote:
if (Client.AuthID != 0)
{
if (PermanentBan == 2)
resp.Type = 0x41E;
else if (PermanentBan == 4)
{
resp.Type = 0x41D;
}
resp.IPAddress = "192.168.0.8";
resp.Key1 = Client.AuthID;
resp.Key2 = (uint)Client.Password.GetHashCode();
resp.Port = 5817;
ServerDatabase.AddAuthData(Client);
ServerDatabase.AddLastLogin(Client.Account);
}
else
{
resp.Key1 = 1;
BruteforceProtection.AddWatch(nClient.IP);
}
Client.Send(&resp);
}
else
{
nClient.Disconnect();
}
break;
|
have i to put my own Ip in?
have i to change the port to 9959 or 5816 idk
|
|
|
06/08/2011, 10:49
|
#8
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
|
Come on....really? REALLY??
Of course you have to put your own ip address in, this is like day one of conquer private server setup, the source needs to be customised to your environment.
So change the ip to the ip address of your computer, if your going to set it up for people outside your lan without hamachi then it needs to be your external ip address, the port is the port that the game server is running on.
Come on >_>
|
|
|
06/08/2011, 13:45
|
#9
|
elite*gold: 0
Join Date: Jun 2009
Posts: 372
Received Thanks: 53
|
Quote:
Originally Posted by Pro4Never2
Guys, look what i found in Auth Processor.cs
have i to put my own Ip in?
have i to change the port to 9959 or 5816 idk
|
in that source the port was changed from 9959 to 9960 u can cange it bac buts its 9960 now
|
|
|
06/08/2011, 14:08
|
#10
|
elite*gold: 0
Join Date: Dec 2010
Posts: 97
Received Thanks: 11
|
look what happens when i login
Quote:
Translate
Could not load file or assembly 'BlowfishCFB.dll'or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
|
|
|
|
06/08/2011, 14:16
|
#11
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
|
Oh that, you need a non-redistributable file from VS2008.
|
|
|
06/08/2011, 14:27
|
#12
|
elite*gold: 0
Join Date: Dec 2010
Posts: 97
Received Thanks: 11
|
would you explain more please?
|
|
|
06/08/2011, 17:19
|
#13
|
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
|
Uploaded that long time ago.
|
|
|
06/08/2011, 18:06
|
#14
|
elite*gold: 0
Join Date: Dec 2010
Posts: 97
Received Thanks: 11
|
same thing after extracting it in debug file and everywhere
|
|
|
06/08/2011, 18:39
|
#15
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
|
Quote:
Originally Posted by BaussHacker
Uploaded that long time ago.
|
Just saying but it's non-redistributable so wouldn't it be against the rules on this forum?
Quote:
Originally Posted by Pro4Never2
same thing after extracting it in debug file and everywhere
|
It should work.
|
|
|
|
|
Similar Threads
|
Tausche acc mit Cs Source gegen call of diutui mwf2
05/15/2011 - Steam Trading - 1 Replies
Tausche acc mit Cs source und die beinhaltetn spiele gegen einen steamn acc mit call of diuti mwf2 bitte pn an mich !
|
Counterstrike: Source VS. Call of Duty: Black Ops
05/07/2011 - Off Topic - 50 Replies
Huhu,
ich und ein Freund streiten uns schon seit einer langen Zeit, welches Spiel besser ist, den(n) er meint, das(s) Counterstrike: Source besser als Call of Duty: Black Ops ist.
Ich bin dagegen und habe ihm mit den mehreren Funktionen und der Grafik sowie der schönen Atmosphäre gegenargumentiert.
Tja, aber er sieht es einfach nicht ein. :D
Was meint ihr? Findet ihr wirklich CS:S besser als die COD-Reihe evtl. COD: Black Ops? Sagt eure Meinung und nimmt an der Umfrage teil. ;)
|
[B]iete Steam Call of Duty:Black Ops, Counter Strike Source, Far Cry 2,Left 4 Dead 2
02/28/2011 - Counter-Strike Trading - 4 Replies
iete Steam & BC2 50PSC
E-mail Adresse: Ja
E-mail pass: Ja
Geheimfrage: Ja
VAC-Status: Nicht ausgeschlossen
Spiele: Call of Duty:Black Ops, Counter Strike Source,
Far Cry 2,Left 4 Dead 2
|
[Suche] Counter Strike Source Key [Biete] Call of Duty Black Ops Steam Account
11/28/2010 - Counter-Strike Trading - 7 Replies
Wie der Titel schon sagt Suche ich jemanden der einen Vaild Css Key für Steam hat und ihn gegen einen Call of Duty Black Ops Steam Account eintauschen würde.
da ich mir neulich Gmod & DoDs geholt habe und nun fehlen mir die models von Css
Vac status :
Hier ein Screen vom Account
http://www6.pic-upload.de/thumb/27.11.10/2kgfucty ja.png
bei Weiteren fragen bitte via PN oder ICQ : 9437664
|
All times are GMT +2. The time now is 22:48.
|
|