Daneta Posted May 20, 2013 Share Posted May 20, 2013 last thing how do i complie Link to comment Share on other sites More sharing options...
Zeno Posted May 20, 2013 Share Posted May 20, 2013 > last thing how do i complieIMO basic VB6 questions are always off-topic. Oh well. Next time try google. ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)To compile and save go File -> Make ***.exeYou can also compile without saving by pressing ctrl+f5\. This is used to check things and debug while working. Link to comment Share on other sites More sharing options...
Daneta Posted May 20, 2013 Share Posted May 20, 2013 ok Link to comment Share on other sites More sharing options...
Daneta Posted May 21, 2013 Share Posted May 21, 2013 when i post tjis in modgraphics```Public Sub DrawHair(ByVal x2 As Long, ByVal y2 As Long, ByVal Hair As Long, ByVal Anim As Long, ByVal spritetop As Long, ByVal tint As Long)Dim rec As RECTIf Hair < 1 Or Hair > NumHairs Then Exit SubWith rec.Top = spritetop * (Tex_Hair(Hair).Height / 4).Bottom = .Top + (Tex_Hair(Hair).Height / 4).Left = Anim * (Tex_Hair(Hair).Width / 4).Right = .Left + (Tex_Hair(Hair).Width / 4)End With' Clip to screenIf y2 < 0 ThenWith rec.Top = .Top - y2End Withy2 = 0End IfIf x2 < 0 ThenWith rec.Left = .Left - x2End Withx2 = 0End If'RenderTexture Tex_Hair(Hair), ConvertMapX(x2), ConvertMapY(y2), rec.Left, rec.Top, rec.Right - rec.Left, rec.Bottom - rec.Top, rec.Width, rec.HeightRenderTexture Tex_Hair(Hair), ConvertMapX(x2), ConvertMapY(y2), rec.Left, rec.Top, rec.Right - rec.Left, rec.Bottom - rec.Top, rec.Right - rec.Left, rec.Bottom - rec.Top, tintEnd Sub```and i try to compliei get this error ambiguous name detected: draw hair Link to comment Share on other sites More sharing options...
Zeno Posted May 21, 2013 Share Posted May 21, 2013 > i get this error ambiguous name detected: draw hairYou most likely have two subs named Sub DrawHair.**am·big·u·ous*** (of language) Open to more than one interpretation; having a double meaning. * **Unclear or inexact because a choice between alternatives has not been made.** Link to comment Share on other sites More sharing options...
Daneta Posted May 21, 2013 Share Posted May 21, 2013 now i get this```' connect frmMain.Socket.RemoteHost = Options.IP frmMain.Socket.RemotePort = Options.Port```were it says socket.remotehost is were i cet the complie error it says method or data member not found why is it because of the vb6 im using Link to comment Share on other sites More sharing options...
Daneta Posted May 21, 2013 Share Posted May 21, 2013 heres the hole thing to the code```Sub TcpInit() ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler Set PlayerBuffer = New clsBuffer ' connect frmMain.Socket.RemoteHost = Options.IP frmMain.Socket.RemotePort = Options.Port ' Error handler Exit Suberrorhandler: HandleError "TcpInit", "modClientTCP", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit SubEnd Sub``` Link to comment Share on other sites More sharing options...
barreytor Posted May 21, 2013 Author Share Posted May 21, 2013 probably you deleted the socket object. Also, that is completely off-topic. Link to comment Share on other sites More sharing options...
DarkDino Posted June 19, 2013 Share Posted June 19, 2013 I add this in EFF and :S i have a problem with NPC D:!, when i spawn a NPC in a map! the fps drop to 22 - 32 :(!. Link to comment Share on other sites More sharing options...
barreytor Posted June 19, 2013 Author Share Posted June 19, 2013 I'm sorry, I don't know how can I help you with that, mainly because this tutorial was only tested with EO.In any case, you should check if it was working properly before, and see where you added the hair-drawing code, because what you say seems to show that you added something into some NPC thing.I'm sorry I can't help you. Link to comment Share on other sites More sharing options...
Zeno Posted June 19, 2013 Share Posted June 19, 2013 > I add this in EFF and :S i have a problem with NPC D:!, when i spawn a NPC in a map! the fps drop to 22 - 32 :(!.I have something similar to this in my EFF source with ten extra layers instead of one. After months I have yet to see any performance drop. The code in this tutorial looks well-done to me with no inefficient loops, although I've never used it myself. This feature may have instigated poor performance, but is probably not the cause. Your problem is probably with another tutorial you've added. Link to comment Share on other sites More sharing options...
DarkDino Posted June 19, 2013 Share Posted June 19, 2013 You are right zeno, sorry for my post D: is other system :/.Nice tutorial!. Link to comment Share on other sites More sharing options...
IFX Posted March 29, 2015 Share Posted March 29, 2015 I have to say, You did an impressive job. Really. This is one of the best tutorials ever. really useful. Thanks. Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted March 29, 2015 Share Posted March 29, 2015 > I have to say, You did an impressive job. Really. This is one of the best tutorials ever. really useful. Thanks.IFX, what out if you're necro posting, it's still against the rules Link to comment Share on other sites More sharing options...
Daneta Posted May 26, 2015 Share Posted May 26, 2015 i look back at my replys from 2 years ago…............. oh God..... i was a retard XDDDDDD Link to comment Share on other sites More sharing options...
joaovitor1819 Posted September 3, 2015 Share Posted September 3, 2015 how to work on sprites vx ?3x4 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now