opentnl-general Mailing List for Torque Network Library (Page 6)
Brought to you by:
mark_frohnmayer,
s_alanet
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
(39) |
May
(34) |
Jun
(5) |
Jul
(5) |
Aug
(3) |
Sep
|
Oct
(8) |
Nov
|
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(2) |
Feb
(8) |
Mar
(18) |
Apr
(6) |
May
(12) |
Jun
|
Jul
|
Aug
(2) |
Sep
(1) |
Oct
(8) |
Nov
(1) |
Dec
|
2006 |
Jan
(5) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2007 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
|
Mar
(10) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(3) |
2009 |
Jan
(24) |
Feb
(2) |
Mar
(2) |
Apr
(26) |
May
(75) |
Jun
(85) |
Jul
(46) |
Aug
(18) |
Sep
(14) |
Oct
(24) |
Nov
(8) |
Dec
(3) |
2010 |
Jan
(1) |
Feb
(1) |
Mar
(40) |
Apr
(57) |
May
(80) |
Jun
(58) |
Jul
(45) |
Aug
(49) |
Sep
(28) |
Oct
(6) |
Nov
(1) |
Dec
(3) |
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
(3) |
Jun
(10) |
Jul
(7) |
Aug
(7) |
Sep
(2) |
Oct
(1) |
Nov
(1) |
Dec
(2) |
2012 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
(2) |
Jun
(1) |
Jul
(11) |
Aug
(13) |
Sep
(8) |
Oct
(4) |
Nov
|
Dec
(1) |
2013 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(2) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(14) |
Sep
(44) |
Oct
(1) |
Nov
(1) |
Dec
(2) |
2014 |
Jan
(4) |
Feb
(42) |
Mar
(3) |
Apr
(1) |
May
(7) |
Jun
(5) |
Jul
(14) |
Aug
(2) |
Sep
(2) |
Oct
(54) |
Nov
(43) |
Dec
(36) |
2015 |
Jan
(48) |
Feb
(64) |
Mar
(52) |
Apr
(24) |
May
(52) |
Jun
(60) |
Jul
(6) |
Aug
(15) |
Sep
(1) |
Oct
|
Nov
(7) |
Dec
(12) |
2016 |
Jan
(17) |
Feb
(2) |
Mar
(6) |
Apr
|
May
(66) |
Jun
(40) |
Jul
(51) |
Aug
(42) |
Sep
(24) |
Oct
(10) |
Nov
(46) |
Dec
(7) |
2017 |
Jan
(14) |
Feb
(11) |
Mar
(2) |
Apr
(1) |
May
(31) |
Jun
(8) |
Jul
(10) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <ope...@li...> - 2009-01-06 10:46:39
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body> <div align="left"> <table border="0" width="650" cellpadding="0"> <tr> <td valign="bottom"> <blockquote> <p align="center"><font face="Tahoma">If you are unable to see the message below, <a href="http://qkvxrg.leraxobuw.cn/view.php?87a692d76249554a311caeed44238"> click here</a> to view.</font></p> </blockquote> </td> </tr> <tr> <td valign="bottom"> <blockquote> <p align="center"><font size="2" face="Arial"><br> </font><a href="http://gjdpfh.leraxobuw.cn/"> <img src="http://pictures.leraxobuw.cn/pass.jpg" border=0></a></p> </blockquote> </td> </tr> <tr> <td valign="bottom"> <blockquote> <blockquote> <p><font size="2" face="Arial"><br> Thank you for your interest in JWT Communications Entertainment And Technology<br><br>You are receiving this e-mail because you have subscribed to product updates.<br><br>If you want to unsubscribe from JWT Communications Entertainment And Technology Newsletter, please visit <a href="http://qkvxrg.leraxobuw.cn/remove.php?msgid=87a692d76249554a311caeed44238&user=ope...@li..."> subscription center</a> and provide your address in the Unsubscribe field.<br><br> Copyright (C) 2008, JWT Communications Entertainment And Technology<br>2901 Dallas Pkwy Ste 340 Plano, TX 75093 </font><br> </p> </blockquote> </blockquote> </td> </tr> </table> </div> </body> </html> |
From: LPC1101 <N01...@nt...> - 2009-01-04 12:03:04
|
see http://www.garagegames.com/mg/forums/result.thread.php?qt=76820 gl Matt -----Original Message----- From: chen qiang [mailto:gre...@gm...] Sent: Sat 03/01/2009 15:11 To: ope...@li... Subject: [Opentnl-general] how to build tnl on gcc 4.2.1? the error is: g++ -g -DTNL_DEBUG -DTNL_ENABLE_LOGGING -I../libtomcrypt -c assert.cpp In file included from tnl.h:35, from assert.cpp:27: tnlTypes.h:299:8: error: #error "TNL: Unsupported version of GCC (see tnlMethodDispatch.cpp)" In file included from tnlUDP.h:35, from tnl.h:51, from assert.cpp:27: tnlVector.h: In member function 'T& TNL::Vector<T>::front()': tnlVector.h:302: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available tnlVector.h:302: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) tnlVector.h: In member function 'const T& TNL::Vector<T>::front() const': tnlVector.h:307: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available tnlVector.h: In member function 'T& TNL::Vector<T>::back()': tnlVector.h:312: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available tnlVector.h: In member function 'const T& TNL::Vector<T>::back() const': tnlVector.h:317: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available how to solve it? thinks very much! |
From: Ben G. <ben...@gm...> - 2009-01-04 07:51:16
|
On Sat, Jan 3, 2009 at 7:11 AM, < ope...@li...> wrote: > Message: 6 > Date: Sat, 3 Jan 2009 23:11:03 +0800 > From: "chen qiang" <gre...@gm...> > Subject: [Opentnl-general] how to build tnl on gcc 4.2.1? > To: ope...@li... > Message-ID: > <487...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > the error is: > g++ -g -DTNL_DEBUG -DTNL_ENABLE_LOGGING -I../libtomcrypt -c assert.cpp > In file included from tnl.h:35, > from assert.cpp:27: > tnlTypes.h:299:8: error: #error "TNL: Unsupported version of GCC (see > tnlMethodDispatch.cpp)" > In file included from tnlUDP.h:35, > from tnl.h:51, > from assert.cpp:27: > tnlVector.h: In member function 'T& TNL::Vector<T>::front()': > tnlVector.h:302: error: there are no arguments to 'begin' that depend on a > template parameter, so a declaration of 'begin' must be available > tnlVector.h:302: error: (if you use '-fpermissive', G++ will accept your > code, but allowing the use of an undeclared name is deprecated) > tnlVector.h: In member function 'const T& TNL::Vector<T>::front() const': > tnlVector.h:307: error: there are no arguments to 'begin' that depend on a > template parameter, so a declaration of 'begin' must be available > tnlVector.h: In member function 'T& TNL::Vector<T>::back()': > tnlVector.h:312: error: there are no arguments to 'end' that depend on a > template parameter, so a declaration of 'end' must be available > tnlVector.h: In member function 'const T& TNL::Vector<T>::back() const': > tnlVector.h:317: error: there are no arguments to 'end' that depend on a > template parameter, so a declaration of 'end' must be available > > how to solve it? thinks very much! What happens if you add -fpermissive to the compiler parameters? Ben |
From: chen q. <gre...@gm...> - 2009-01-03 15:11:08
|
the error is: g++ -g -DTNL_DEBUG -DTNL_ENABLE_LOGGING -I../libtomcrypt -c assert.cpp In file included from tnl.h:35, from assert.cpp:27: tnlTypes.h:299:8: error: #error "TNL: Unsupported version of GCC (see tnlMethodDispatch.cpp)" In file included from tnlUDP.h:35, from tnl.h:51, from assert.cpp:27: tnlVector.h: In member function 'T& TNL::Vector<T>::front()': tnlVector.h:302: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available tnlVector.h:302: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) tnlVector.h: In member function 'const T& TNL::Vector<T>::front() const': tnlVector.h:307: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available tnlVector.h: In member function 'T& TNL::Vector<T>::back()': tnlVector.h:312: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available tnlVector.h: In member function 'const T& TNL::Vector<T>::back() const': tnlVector.h:317: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available how to solve it? thinks very much! |
From: Gane D. p. e. <int...@te...> - 2008-12-29 14:48:15
|
Estimad@ amig@: Desde ahora tiene la posibilidad de poder ganar dinero trabajando desde su Casa y de manera fácil. Si usted nos elige deberá procesar correos electrónicos. Para procesar correos tendrá que seguir unos sencillos pasos que le mostraremos. Si usted puede procesar 20 correos electrónicos al día, a usted se le pagará $260.00 usd, empezando hoy ($13 usd por cada correo que procese correctamente). Cuanto se suele hacer es una media entre 5 y 20 correos que se procesan cada dia. Nosotros le diremos cómo, ofreciéndole total información, material y las herramientas. Usted tiene nuestra garantía de ganar dinero. Cada vez que usted procese nuestros correos electrónicos, ganará dinero. Esto es un método sencillo, honrado y fácil de hacer para ganar cientos y hasta algunos miles de dólares cada mes. ¡Imagínese cúanto puede ganar en un año! Empiece a procesar correos electrónicos Hoy. Copie mi dirección de correo electrónico (email: uni...@gm...) y visite: ð http://www.abundanciaydinero.blogspot.com Sus ganancias pueden ser ilimitadas ¡¡ Usted puede hacer sobre $150.00 en un tiempo entre 2 y 24 horas !! Cuanto más tiempo invierta procesando estos correos electrónicos, más dinero ganará, mientras trabaja desde la comodidad de su casa. Una oportunidad honrada y efectiva en tiempos de crisis, Sinceramente, Su Patrocinador: Rafael Leán Mail: uni...@gm... Le deseamos que pase una Feliz Navidad y Próspero Año Nuevo Si usted ha recibido este mensaje por error, por favor acepte nuestras disculpas. Le pedimos que se tome la molestia de unos segundos y responda a este e-mail con la siguiente nota. "No Deseo Recibir su Correspondencia". Muchas gracias por su tiempo. "Unidos podremos vencer las limitaciones" Algunas listas de envío email fueron obtenidas a través de www.5sent.info por lo que cumplimos las normas antispam |
From: alewela a. <al...@gm...> - 2008-06-17 10:13:42
|
Hi, I'm building a test project, Hello World, with the code written in the official documentation: http://opentnl.sourceforge.net/doxydocs/simpletutorial.html It seems that the article hasn't been updated for a while so that the code doesn't compile. TNL_IMPLEMENT_RPC requires one more parameter, argNames. I added the argNames, so the code became: TNL_IMPLEMENT_RPC(SimpleEventConnection, rpcMessageClientToServer, (const char *messageString), (messageString), NetClassGroupGameMask, RPCGuaranteedOrdered, RPCDirClientToServer, 0) But it still didn't compile: 1>HelloWorld.cpp 1>e:\projects\tnl\tnl\tnlMethodDispatch.h(85) : error C2664: 'bool TNL::BitStream::read(TNL::ByteBuffer *)' : cannot convert parameter 1 from 'const char **' to 'TNL::ByteBuffer *' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1> e:\projects\tnl\tnl\tnlMethodDispatch.h(213) : see reference to function template instantiation 'void Types::read<A>(TNL::BitStream &,T *)' being compiled 1> with 1> [ 1> A=const char *, 1> T=const char * 1> ] 1> e:\projects\tnl\tnl\tnlMethodDispatch.h(213) : while compiling class template member function 'void TNL::FunctorDecl<T>::read(TNL::BitStream &)' 1> with 1> [ 1> T=void (__thiscall SimpleEventConnection::* )(const char *) 1> ] 1> .\HelloWorld.cpp(34) : see reference to class template instantiation 'TNL::FunctorDecl<T>' being compiled 1> with 1> [ 1> T=void (__thiscall SimpleEventConnection::* )(const char *) 1> ] How should I modify it to make it work? I'm using Visual Studio 2005 (8.0) with SP1. Thanks. alewela |
From: Marc R. <mar...@ud...> - 2008-03-27 00:14:14
|
By the way, it also doesn't leak if the server isn't there. So it only leaks if it could successfully connect but during this attempt, I try to abort it with a disconnect() call _____ Von: ope...@li... [mailto:ope...@li...] Im Auftrag von Mark Frohnmayer Gesendet: Donnerstag, 27. März 2008 01:06 An: ope...@li... Betreff: Re: [Opentnl-general] Aborting Connection Attempt I think disconnect() will do it -- do you have info on which allocation is not being deallocated correctly? On Wed, Mar 26, 2008 at 3:17 PM, Marc Rochel <mar...@ud...> wrote: Hi ! How do I abort a connection attempt correctly? When I do a connect and try a disconnect before onConnectionEstablished() was called, the vs memory debugger reports a memory leak at the end of the program. Like the NetConnection wasn't freed correctly. What do I have to call instead? I don't seen any abortConnectionAttempt() etc. Best regards Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Opentnl-general mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/opentnl-general |
From: Marc R. <mar...@ud...> - 2008-03-27 00:11:52
|
Hi ! What I do is creating the MyNetInterface, then a MyNetConnection and call Connect on the later one, giving the NetInterface as a parameter. MyNetConnection is 512 bytes in size and that's the size of the block that doesn't get freed - so I guess that's the trouble maker. Do I have to call delete on that manually at some point? I create it with new but I never delete it myself. Maybe in that case I have to? If the connection establishes successfully and I do a disconnect, nothing leaks - while I'm still not deleting the MyNetConnection I created before. Best regards Marc _____ Von: ope...@li... [mailto:ope...@li...] Im Auftrag von Mark Frohnmayer Gesendet: Donnerstag, 27. März 2008 01:06 An: ope...@li... Betreff: Re: [Opentnl-general] Aborting Connection Attempt I think disconnect() will do it -- do you have info on which allocation is not being deallocated correctly? On Wed, Mar 26, 2008 at 3:17 PM, Marc Rochel <mar...@ud...> wrote: Hi ! How do I abort a connection attempt correctly? When I do a connect and try a disconnect before onConnectionEstablished() was called, the vs memory debugger reports a memory leak at the end of the program. Like the NetConnection wasn't freed correctly. What do I have to call instead? I don't seen any abortConnectionAttempt() etc. Best regards Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Opentnl-general mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/opentnl-general |
From: Mark F. <mar...@gm...> - 2008-03-27 00:09:03
|
You can use the TNL_IMPLEMENT_NETCONNECTION macro -- lets you specify which net class groups will be active for the connection, as well as whether the NetInterface should allow remote connections of that type. On Tue, Mar 25, 2008 at 2:10 PM, Marc Rochel <mar...@ud...> wrote: > Hi ! > > I see that NetConnection has some onXXX methods that I can overwrite. But > how do I tell my server NetInterface to use my subclassed NetConnection > instead of the normal one? In TNLTest, NetInterface is subclassed as well as > GhostConnection, but TestNetInterface doesn't use TestGhostConnection > anywhere. So how does this work? How does TestNetInterface know that upon a > connection attempt, it has to create a TestGhostConnection instead of a > normal GhostConnection or EventConnection? It has to be specified somewhere > but I can't find it. > > Best regards > Marc > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Opentnl-general mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opentnl-general > > |
From: Mark F. <mar...@gm...> - 2008-03-27 00:05:44
|
I think disconnect() will do it -- do you have info on which allocation is not being deallocated correctly? On Wed, Mar 26, 2008 at 3:17 PM, Marc Rochel <mar...@ud...> wrote: > Hi ! > > How do I abort a connection attempt correctly? When I do a connect and try > a disconnect before > > onConnectionEstablished() was called, the vs memory debugger reports a > memory leak at the end of the program. Like the NetConnection wasn't freed > correctly. What do I have to call instead? I don't seen any > abortConnectionAttempt() etc. > > Best regards > > Marc > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Opentnl-general mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opentnl-general > > |
From: Mark F. <mar...@gm...> - 2008-03-26 23:25:38
|
Try doing a global search on the TNL directory for "timeout". You'll find everything you need :) Cheers, Mark On Wed, Mar 26, 2008 at 4:14 PM, Marc Rochel <mar...@ud...> wrote: > Hi again! > > Is there a way to specify the various timeouts? Like how long it takes > until a connectiona ttempt is reported as a failure if it can't connect? Or > how long it takes until a dropped connection gets noticed? > > Best regards > Marc > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Opentnl-general mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opentnl-general > > |
From: Marc R. <mar...@ud...> - 2008-03-26 23:14:16
|
Hi again! Is there a way to specify the various timeouts? Like how long it takes until a connectiona ttempt is reported as a failure if it can't connect? Or how long it takes until a dropped connection gets noticed? Best regards Marc |
From: Marc R. <mar...@ud...> - 2008-03-26 22:17:40
|
Hi ! How do I abort a connection attempt correctly? When I do a connect and try a disconnect before onConnectionEstablished() was called, the vs memory debugger reports a memory leak at the end of the program. Like the NetConnection wasn't freed correctly. What do I have to call instead? I don't seen any abortConnectionAttempt() etc. Best regards Marc |
From: Marc R. <mar...@ud...> - 2008-03-25 21:10:13
|
Hi ! I see that NetConnection has some onXXX methods that I can overwrite. But how do I tell my server NetInterface to use my subclassed NetConnection instead of the normal one? In TNLTest, NetInterface is subclassed as well as GhostConnection, but TestNetInterface doesn't use TestGhostConnection anywhere. So how does this work? How does TestNetInterface know that upon a connection attempt, it has to create a TestGhostConnection instead of a normal GhostConnection or EventConnection? It has to be specified somewhere but I can't find it. Best regards Marc |
From: Ben G. <be...@ga...> - 2008-03-11 23:05:05
|
Hey Jochen, I tried to recreate your scenario but was unable to experience any abnormal behavior under the TNLTest app. Specifically, I performed these steps: Update the GhostConstants enum in tnlGhostConnection.h to read: enum GhostConstants { GhostIdBitSize = 15, ///< Size, in bits, of the integer used to transmit ghost IDs GhostLookupTableSizeShift = 15, ///< The size of the hash table used to lookup source NetObjects by remote ghost ID is 1 << GhostLookupTableSizeShift. MaxGhostCount = (1 << GhostIdBitSize), ///< Maximum number of ghosts that can be active at any one time. GhostCountBitSize = GhostIdBitSize + 1, ///< Size of the field needed to transmit the total number of ghosts. GhostLookupTableSize = (1 << GhostLookupTableSizeShift), ///< Size of the hash table used to lookup source NetObjects by remote ghost ID. GhostLookupTableMask = (GhostLookupTableSize - 1), ///< Hashing mask for table lookups. }; Note that only the GhostIdBitSize and GhostLookupTablesizeShift were changed. And in testGame.cpp line 578 changed the number of AI players to be 1500, just as you showed in your mail. When I run two instance of TNLTest, they behave as expected (although there is lag). No disconnections occur. Is it possible that having so many ghosted objects is making your system max out, so that the server can't keep up with incoming requests and the client is disconnected? TNL is pretty efficient but the test app is not optimized for large quantities of AI. Are you using TNL 1.5.0 or another version? I used the zip file available for download at OpenTNL.org, and compiled with the latest Visual C++ 2008 Express (downloaded today). Regards, Ben Garney GarageGames.Com On 3/10/08, ope...@li... < ope...@li...> wrote: > > Send Opentnl-general mailing list submissions to > ope...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/opentnl-general > or, via email, send a message with subject or body 'help' to > ope...@li... > > You can reach the person managing the list at > ope...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Opentnl-general digest..." > > > Today's Topics: > > 1. BUG? TNLTest Connection reset (Jochen St?ber) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 10 Mar 2008 14:56:54 +0100 > From: Jochen St?ber <joc...@ke...> > Subject: [Opentnl-general] BUG? TNLTest Connection reset > To: <ope...@li...> > Message-ID: <002701c882b6$992cadc0$cb860940$@st...@ke...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I wrote a networked app which recently hit the 1024 ghost boundary for a > single connection. The TNL doc states that the max number of ghost can > easily be raised by manipulating the GhostConstants enum in > tnlGhostConnection: > > > My tnlGhostConnection.h now looks like this: > > enum GhostConstants { > GhostIdBitSize = 16 , ///< Size, in bits, of the integer used to transmit > ghost IDs > GhostLookupTableSizeShift = 16, ///< The size of the hash table used to > lookup source NetObjects by remote ghost ID is 1 << > GhostLookupTableSizeShift. > > MaxGhostCount = (1 << GhostIdBitSize), ///< Maximum number of ghosts that > can be active at any one time. > GhostCountBitSize = GhostIdBitSize + 1, ///< Size of the field needed to > transmit the total number of ghosts. > > GhostLookupTableSize = (1 << GhostLookupTableSizeShift), ///< Size of the > hash table used to lookup source NetObjects by remote ghost ID. > GhostLookupTableMask = (GhostLookupTableSize - 1), ///< Hashing mask for > table lookups. > > }; > > But whenever the ghost count exceeds 1024 the client terminates its > connection to server, just to immediately reconnect, drop the line again > and > forth. > > I suspect that this might be abug in the TNL because TNLTest.exe which > comes > with the TNL lets me reproduces the error if I increase the number of > players in the game from 15 to over 1024 in the TestGame constructor, i.e. > in line 578: > > for(TNL::S32 i = 0; i < 1500; i ++) > { > Player *aiPlayer = new Player(Player::PlayerTypeAI); > aiPlayer->addToGame(this); > } > > > Did anyone encounter the same problem? > > Cheers, > > Jochen > > > > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > ------------------------------ > > _______________________________________________ > Opentnl-general mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opentnl-general > > > End of Opentnl-general Digest, Vol 5, Issue 1 > ********************************************* > -- Ben Garney GarageGames.com |
From: Jochen S. <joc...@ke...> - 2008-03-10 13:57:15
|
Hi, I wrote a networked app which recently hit the 1024 ghost boundary for a single connection. The TNL doc states that the max number of ghost can easily be raised by manipulating the GhostConstants enum in tnlGhostConnection: My tnlGhostConnection.h now looks like this: enum GhostConstants { GhostIdBitSize = 16 , ///< Size, in bits, of the integer used to transmit ghost IDs GhostLookupTableSizeShift = 16, ///< The size of the hash table used to lookup source NetObjects by remote ghost ID is 1 << GhostLookupTableSizeShift. MaxGhostCount = (1 << GhostIdBitSize), ///< Maximum number of ghosts that can be active at any one time. GhostCountBitSize = GhostIdBitSize + 1, ///< Size of the field needed to transmit the total number of ghosts. GhostLookupTableSize = (1 << GhostLookupTableSizeShift), ///< Size of the hash table used to lookup source NetObjects by remote ghost ID. GhostLookupTableMask = (GhostLookupTableSize - 1), ///< Hashing mask for table lookups. }; But whenever the ghost count exceeds 1024 the client terminates its connection to server, just to immediately reconnect, drop the line again and forth. I suspect that this might be abug in the TNL because TNLTest.exe which comes with the TNL lets me reproduces the error if I increase the number of players in the game from 15 to over 1024 in the TestGame constructor, i.e. in line 578: for(TNL::S32 i = 0; i < 1500; i ++) { Player *aiPlayer = new Player(Player::PlayerTypeAI); aiPlayer->addToGame(this); } Did anyone encounter the same problem? Cheers, Jochen |
From: Marc R. <mar...@ud...> - 2008-01-22 21:25:53
|
Hi ! =20 I started looking into OpenTNL and I would like to just send binary messages either reliable or unreliable. From the tutorials, I see a lot of RPC examples, but nothing like a simple Sendwith a pointer parameter. How do you do that? Do I have to create an rpc for this? Is that the supposed to be/optimal way? =20 Best regards Marc |
From: Brian P. <bpa...@gm...> - 2007-03-11 17:51:05
|
Hi, I started using the opentnl library recently and ran into a question. I have compiled and run both the tnltest example and the simplenet "hello world" example from the opentnl website. Both have a segmentation fault when the client tries to execute a RPC on the server. I'm hoping someone can point me in the right direction in solving this. I compiled opentnl 1.5.0 using g++34 (under Fedora 5 Linux) and in order to get both examples to compile I had to use the "-fpermissive" option. I'm not sure if this has something to do with it, but thats what the compiler suggested. I'm running the client and server on the same machine, but that seemed to be what the simplenet.cpp example suggested: ./simple -server 127.0.0.1:28000 new terminal ./simple -client 127.0.0.1:28000 (the client runs and the server program segmentation faults). Also the simplenet.ccp example seems to be a little outdated as I had to add a parameter argument to the RPC_FUNCTION() macro. Any suggestions would be great. Brian |
From: Jan F. <jan...@gm...> - 2007-01-24 00:37:07
|
Hello, i use the tnl for a project which i develop for my diploma thesis. My plan is to implement a server which only dispatches messages between clients an a server grid. Therefore i use the Eventconnection with some RPC s. The data i recive from the clients (or servers) is encoded in a ByteBuffer (TNL::ByteBufferPtr) and i dont want to decode it on the dispatch server. So is call another rpc with the same buffer that it sends to the remote client. That works. Clients and servers recives the right messages. But when i look at the memory usage of my applikation then i see that it grows very quickly. Especialy when i send huge amount of messages. In my testcase there are 20 clients which sends 10 messages per second. Every message is 8 byte . So my question is: are there some limitations of RPC so that i cant handle this amount of messages. I have tested a little bit and for me it seems that either the refcount of the BufferPtr will not decrease that i can deleted or the memory of the created Events will not freed. Have anyone some experience with sending bytebuffers very often? Cheers Jan |
From: Brent A. <bre...@gm...> - 2006-09-26 21:15:52
|
Hello. I'm currently exploring different ways to approach synchronizing the massive amount of information found in a 3D animated game between a central server and several clients. How does the Torque network library handle this problem? From the doc website, it is stated that the original incarnation of this library in TRIBES was intended to work on a 2 kb/sec connection for modems. Thanks, Brent Anderson |
From: Mark F. <ma...@ga...> - 2006-04-12 18:12:51
|
In the release build (TNL_DEBUG off) it should just boot the offending client - in debug it is assumed that you are trying to debug connections, therefore it asserts on pack/unpack mismatches. On 4/12/06, Ivan Vorobeychyk <iv...@su...> wrote: > > Hi. > > Playing around with MasterServer - Client applications I've found that > > Server application crashes when it wasn't rebuilt after changes in the > > Client app. I understand that it is because read/write or pack/unpack > > didn't match. I saw similar post "Server crash just due to TNL_DEBUG??" > > but it wasn't answered. The question is - How I can protect my server > > from hackers attacks in similar cases if they are using modified OpenTNL > library? > > Try{ =85 }catch{ conn->disconnect("BAD GUY") }? > > Thanks in advance, > > Ivan > |
From: Ivan V. <ivanv@SuperDimension.com> - 2006-04-12 09:45:28
|
Hi. Playing around with MasterServer - Client applications I've found that Server application crashes when it wasn't rebuilt after changes in the Client app. I understand that it is because read/write or pack/unpack didn't match. I saw similar post "Server crash just due to TNL_DEBUG??" but it wasn't answered. The question is - How I can protect my server from hackers attacks in similar cases if they are using modified OpenTNL library? Try{ ... }catch{ conn->disconnect("BAD GUY") }? Thanks in advance, Ivan |
From: Ville A. B. <vbe...@cc...> - 2006-01-30 17:50:18
|
On Fri, 27 Jan 2006, Aaron Dalton wrote: > After looking further through the Makefiles, I'm thinking all I need are the > files found in the ./tnl directory. Yeah. AFAIK all the headers you need for linking against libtnl.a are there. > I see that the header files in > ./libtomcrypt are also needed, but is the library built there needed? My > system already has libtomcrypt installed. What exactly is built in > ./libtomcrypt? The OpenTNL 1.5.0 sources include sources for libtomcrypt 0.92 (for convenience, I guess). If you have libtomcrypt already installed, I don't think you need anything from the ./libtomcrypt directory. Ville -- Ville Bergholm http://www.hut.fi/u/vberghol/ mobile +358-44-5722802 |
From: Aaron D. <aa...@da...> - 2006-01-27 23:18:44
|
After looking further through the Makefiles, I'm thinking all I need are the files found in the ./tnl directory. I see that the header files in ./libtomcrypt are also needed, but is the library built there needed? My system already has libtomcrypt installed. What exactly is built in ./libtomcrypt? I assume all the other stuff is for testing and support. I would really appreciate any direction you can give as to what exact files are needed to build the library and which headers are needed to interface as the included Makefiles don't have any install targets. Thank you again for your time! -- Aaron Dalton | Super Duper Games aa...@da... | http://superdupergames.org |
From: Aaron D. <aa...@da...> - 2006-01-26 17:10:46
|
Thank you very much, Ville. I am currently running libtomcrypt v1.08 but still got the same error. The #def/undef hack worked fine though. Are the other changes I made to the makefiles OK? It seems to compile fine and test/server runs fine. *shrugs* The makefile has no install instructions. Where can I find info on what exactly needs to be installed where? I will be creating a new BSD Makefile and need to know what sources go into the creation of libtnl and if that is the only library actually created. Which header files are required? Thank you again for your time. -- Aaron Dalton | Super Duper Games aa...@da... | http://superdupergames.org |