Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

blkcrow

Members
  • Posts

    477
  • Joined

  • Last visited

    Never

Everything posted by blkcrow

  1. > The one which will use VB2010? no that one is being developed by jeff alone. The rest of the development team is rewriting the vb6 engine
  2. > Awt, How hard it is? D: depending on how much programming you know > Also, what new engine? the new development team has a new engine on the making witch will probably have a new GUI class > maybe he is talking about Eclipse Reborn, It's gonna be released soon… NO
  3. > ~~No you can't, Dx 7 doesn't support PNG's. It can't render them.~~ GDI doesnt support PNG's that means you cant load PNG's into vb6 controls although you can achieve transparency through the use of some APIs but that will really kill your FPS. Your best bet is to use the DirectX 8 engine and modify it to render the gui with textures instead of using controls or just wait for the new engine witch is being developed
  4. > Do you have your server pc turned on for more than 25 days? Becouse it seem that gettickcount is messed. Try ER, there is different timer what isn't messed when pc is too long on GetTickCount becomes negative when 25 days pass so if that was the cause the cps would still count although wrong > Blank EO and EA or edited? this ^
  5. make sure SpellRec in modTypes is exactly the same in server and client
  6. This is a fix for a bug reported here [http://www.touchofde…em/#entry873441](http://www.touchofdeathforums.com/community/index.php?/topic/130858-spells-problem/#entry873441) In server at modServerTCP copy paste this sub ``` Sub SendSpellTo(ByVal index As Long, ByVal spellnum As Long) Dim buffer As clsBuffer Dim SpellSize As Long Dim SpellData() As Byte Set buffer = New clsBuffer SpellSize = LenB(Spell(spellnum)) ReDim SpellData(SpellSize - 1) CopyMemory SpellData(0), ByVal VarPtr(Spell(spellnum)), SpellSize buffer.WriteLong SSpell buffer.WriteLong spellnum buffer.WriteBytes SpellData SendDataTo index, buffer.ToArray() Set buffer = Nothing End Sub ``` in both client and server at modEnumerations above ``` ' Make sure SMSG_COUNT is below everything else ``` add ``` SSpell ``` in server replace sub SendSpells with ``` Sub SendSpells(ByVal index As Long) Dim i As Long For i = 1 To MAX_SPELLS If LenB(Trim$(Spell(i).Name)) > 0 Then Call SendSpellTo(index, i) End If Next Call SendPlayerSpells(index) End Sub ``` in client at modHandleData in sub InitMessages add ``` HandleDataSub(SSpell) = GetAddress(AddressOf HandleSpell) ``` and at the bottom of modHandleData add ``` Private Sub HandleSpell(ByVal Index As Long, ByRef data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long) Dim spellnum As Long Dim buffer As clsBuffer Dim SpellSize As Long Dim SpellData() As Byte If Options.Debug = 1 Then On Error GoTo errorhandler Set buffer = New clsBuffer buffer.WriteBytes data() spellnum = buffer.ReadLong SpellSize = LenB(Spell(spellnum)) ReDim SpellData(SpellSize - 1) SpellData = buffer.ReadBytes(SpellSize) CopyMemory ByVal VarPtr(Spell(spellnum)), ByVal VarPtr(SpellData(0)), SpellSize Set buffer = Nothing Exit Sub errorhandler: HandleError "HandleSpell", "modHandleData", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit Sub End Sub ``` thats all
  7. i have found the problem. During login the server needs to send all spells to the client so it loops through all the spells and sent each spell in its own packet. Now when the client gets this packet it requests form the server all the spells that the player has learned and here is where the bug occurs. If you have 23 spells the clients requests the player spells 23 times that means 23 packets plus 2-3 packets that he had send before its 25+ packets. 25 is the number of packet a non admin player can send to the server. If it sends more than 25 packets the server thinks that its trying to flood him so stop processing more packets from that client. Anyway i am gonna write some code to fix this and post it in bug fixes My english is bad so i hope you understood what i wanted to say ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons//biggrin.png) here [http://www.touchofdeathforums.com/community/index.php?/topic/131259-having-more-than-23-spells-flood-server-bug-fix/](http://www.touchofdeathforums.com/community/index.php?/topic/131259-having-more-than-23-spells-flood-server-bug-fix/)
  8. seems like the client for some reasons sends too big packets to the server. Can you give us some more details like when (e.g. when casting a spell, e.t.c.) the server stops sending packets to the client (players are unable to do anything)
  9. why the hell would anyone want to do this?
  10. look into [UDK](http://www.unrealengine.com/en/udk/) its free for non comercial use
  11. it stoped now seemed like more than one updates had been released but it only downloaded one each time for some reason. Anyway i found a bug where i could get unlimited number of flints i think it happens when i pass over a flint with full inventory (cant remember if thats what caused it but i am sure you need a full inventory for it to hapen) the character drops another flint to the ground. Another think i noticed wich i am not sure if its a bug or not is that i cant always make fire (almost all of the times i cant so i am forced to waste all my time in finding seeds and hunting for raw meat). When i was building a house and while adding logs to the house the frame came up and i stucked in it i couldnt get out so i had to erase that world Also when i die and click try again nothing happens
  12. updated now there was a new update every time i opened the client
  13. > what is this even showing? > > what is variables.php? > > You have a database function called GetCoins which isnt used and the rest just checks a login for what reason? nevermind he posted here so he can copy paste it when he gets home
  14. got a subscript out of range error when tried to trade two fish baites for one onion seed i clicked in the same item in my inventory twice but i had more than one and if you create a world without specifiing a seed the client closes with a path not found error. Also the game lags sometimes. looking good till now gonna play some more ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png)
  15. I am thankful for Sekaru that made Crawle and for Agoraphobic who will give a copy of Crawle when i win this ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons//tongue.png)
  16. blkcrow

    Glaciate

    The preferences at the registration page are hiden by the advertisements (i found out how to hide them after i registered ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons//tongue.png) ) and sometimes when i hover over my name the lists shows but when i am moving my mouse to select one of the options some of them dissapear thats all i have noticed till now. i really like the design you have made and i love the color picker at the top it might only make little changes but it gives a different feel to the whole website. Nice work ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png)
  17. i will probably enter this with something in java if i find the time
  18. > Oh, you can count on me to ensure that is happening. I will personally make sure classes are used where structures should not. Thats what i wanted to hear > Oh, this made me remember of sadscript… > > I would rather use vb6 though. i am not sure i get what you are trying to say
  19. why not go for a more object oriented aproach? also getting rid of all the vb controls we are doing game not aplication programming
  20. Why wouldnt i want to know?
×
×
  • Create New...