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

tommy87

Members
  • Posts

    84
  • Joined

  • Last visited

    Never

Everything posted by tommy87

  1. tommy87

    App.Path

    Remember you always have to code always some function to work on similar data. So, start from Client and recall the sub "SendData", go in Server and stuck the signal (modHandleData), resend an answer to the Client with the right data. It's very difficult, take your time. You will get it. :D *cought* or contact me by PM *cought*
  2. tommy87

    App.Path

    @teh: > ``` > Private Sub testlabel_Click() > testlabel.Caption = App.Path & "\Accounts" & GetPlayerLogin(MyIndex) & "char1.ini", "SPT", "head" > testlabel2.Caption = App.Path & "News.ini", "COLOR", "Blue" > End Sub > ``` > This code above gives an error. I'm using ES 1.2 > I hope someone can help me. You have to overwrite the ' \ ' character, I guess… And use GetVar, yeah. GetVar( App.Path & "\Accounts\" & GetPlayerLogin(MyIndex) & "\char1.ini", "SPT", "head") Again in the other side.. Anyway, where do you recall that "GetVar"? From Server or Client side? .. I am not sure if Client of ES has it. I dunno, I repeat. Maybe you have to add the Sub to Client.. In that case copy and paste it from Server side.
  3. tommy87

    Pet source

    > @jcsnider Ok, thanks you for your answers.
  4. tommy87

    Pet source

    > @jcsnider - Those are some really good ideas. Thanks. > @jcsnider - Something like that isnt hard. Compliments for you if you thinks that it's so easy. And compliments if you got it by yourself. Really, I'm not kidding you. Question: which type of suggestion are you giving? When I read that thing I felt myself idiot - you seem to trivialize it. You aren't answerable to me, obviously. I wish to report you a simple thing. I'm not expert as many as you are. You have to have patience, and if you don't want to share anything about your work because you want to be paied. Don't misunderstand me please. I don't want to offend your intelligence or you. I don't want to the code. I believe in a constructive exchange of opinions. I ask you: I shared what I thought, could you make the same please? Which was you approach with this work? From what did you start? Had you got a plan of development? Which one?
  5. tommy87

    Pet source

    Example: - you spawn an NPC\pet - NPC\pet helps you if you attack a NPC - you want to fight against more NPCs, so you tell to your NPC\pet to attack them for you? In my own opinion, it can be possible only to duel against 1 only NPC. It's true you can use "spell(s)" to damage more NPCs around you, but at that point you simply risk to be stucked bacause you attract too many NPCs at your position. If you are in a bad location and you can't walk on NPCs … you have to fight against them as long as they are defeated. It sucks .. No? At last I advise you to change point of view. Try to imagine this: - you spawn an NPC\pet - NPC\pet helps you if you attack a NPC - you want to fight against more NPCs - NPC\pet helps you defeating NPCs aroung you without a precise command of yours. (or) - you are attacked by NPCs - NPC\pet must support you immediately without a precise command of yours. Also, NPC\pet should fight as long as it can because "you" are in danger. Example: - every NPC has a range of action, so if you are too near to it, it can attack you. - you send your NPC\pet to duel against a NPC - and your NPC\pet wins (hypotesis) - NPC(s) around the first one will attack your NPC\pet - and your NPC\pet loses - (at this point) NPC(s) should attack you because you suggested them by your NPC\pet. That should be a good "pet system", in my own opinion. All this is not so easy to code, anyway. At this moment I'm only able to increase value of DEF-STR when\if a player spawn an his own NPC\pet on the map. On the contrary if a player removes his own NPC\pet, his attributes are restored. I base myself on the fact that the NPC\pet "increases" the power of your abilities to attack\defence yourself and so on. I can also to set correctly the type of NPC\pet I want to spawn. For example: - you joined in "MaryPoppins" guild, your NPC\pet will always be the type number "80" - you joined in "Pluto" guild, your NPC\pet will always be the type number "125" .. and so on.. I just code functions [ PetSpawn() - PetRemove() ] in Server Side and I recall them from a scripted item. To spawn a specif pet, you should start to think to divide players, not in guilds. It's long to explain, shortly I changed everything about Guild assigment or similar. I delete and code all that part myself. And the system runs - as you can see from my previous screenshots. Anyway there's a bad thing I'm tring to fix now. When you attack an NPC, and you run away, .. the NPC targets you and starts to follow you. You have to put some "NPC Avoid" blocks in the map to stop him. Right? Well, that's simply ridiculous. When you are too far away, the NPC should have to stop to target you and return at its original position. I'm ignorant about VB, but I think there can be other things to improve before to start to consider to add a "pet system".
  6. tommy87

    Pet source

    There some of my screenshots too. Olè! ![](http://danieltevor.altervista.org/wip/001_01.gif) ![](http://danieltevor.altervista.org/wip/001_02.gif)
  7. **//Totally Fixed by myself for my own case.** Thank again to Sealbreaker for his interest! Hope to listen you soon, by PM! :D
  8. O_O whoa.. a flexible way to change\edit size of every map would be great. To be honest I dunno if that's possible, but it just a personal opinion. Maybe somebody could help you better than me, of course..
  9. Mh, interesting.. Now I get that. Maybe, try to verify if there're players connected in the same map. You could start to read the list of players-characters, and verify if\where they are connected - in this way (?): ``` Dim PlayerIndex As Long PlayerIndex = FindPlayer(NAME_PC) If PlayerIndex > 0 Then @blablabla End If ``` So if you get the players's map [ Player(PlayerIndex).GettingMap ] you can target them as you wish.. I guess. I'm not sure, it's an attempt..
  10. Mh.. I'm not sure to understand very well. Exactly what would you like to do?
  11. tommy87

    Chat Color help?

    I wrote "willy-nilly" just to precise that if a project is young, you can change\update\move on to an other version of E. fastly.. but, on the contrary, it's better to try to improve the functions of your own version\project of E. . Sorry Robin - Really, lol. Don't flame me please. :D Mine just was an observation.
  12. tommy87

    Chat Color help?

    Well, in my opinion that's not very difficult. And there's not any reason to download and use E.O. "willy-nilly". I try to suggest you to see sub [ HandleKeypresses ] in [ modGameLogic ]. When you can read "Call AddText" or, simply, around "Call PlayerMsg" .. the syntax obbligates you to declare which color to use for the text, always. Try to look for the functions which direct the Global\Map chats etc.. I'm sure you will find something like "Call PlayerMsg" or "AddText" blabla.
  13. **//Removed by author** Thank to Sealbreaker for the support, again.
  14. Yeah, cause nobady helped me so I find a solution alone. I just wanted to update this topic. If Admin want to delete or move this topic, no problem.
  15. > @Sealbreaker **//Removed by author** Thank to Sealbreaker to spur me to make it.
  16. I add there features in Server Side, so it's more easy to rescue right data to load and so on. :D
  17. Yessum, thanks. Eheh, I noticed that, as I wrote in my previous post. Good, I will try to use this new strument. Mh.. It could be useful for me to update my multiple system of èrivate chat(s). - Oook, I'm OT now. Let's skip it, thanks! :D
  18. > @Robin Whoa… You gained 100 points of esteem. Just at the begginning I though "Redim = Reorganize" .. So I had doubts. So, before to post I wanted to catch the essence of your post. I'm not so expert to.. understand.. an entire concept from a command. Ahahah. You gave me the answer more precise I could get - thanks. Really, a short example - please confirm it: ``` Redim Array(n) ```So if I want to increase it I need simply to write [ Redim Array(n+X) ] ? I have just noticed a function to preserve the datas already in the array. Small doubt - so I return in theme of this topic -: I won't to overload Client\Server connection in this way, right? I'm just thinking what can happen with the management of more links (bah.. 200-300). Eh.. the Array have to be read and reload again in every Client but it's located only in Server.. This just is only a thought.. Awaiting for your answer about it. Anyway now I think to understand how to code, I would need to try. Thanks again.
  19. > @Robin -Making a user control is completely over the top. Well, this topic makes me interested and that was my first answer. > @Robin -self-managed string array, a render procedure, a text wrapper and the user's input on the scrollbar. Sorry but at this point I'm curious. I come from Java, where an array must have a length fixed\declared. I dunno in VB, but in Java if you increase the length of an array, you need to declare a new array with a function and blablabla. So, -example- in which way do I use an array? Is VB able to increase the length of the array automatically everytime? And the array should save what players write\tell, right? About scrollbars there're not problems, I guess. I can take inspiration from "scrollbars" buttons of the old standard inventory. I'm really tring to understand it, but I get some difficulties to image the function of array and how it should run. Please, give me also some suggestions. Thanks.
  20. Finally!! It's fixed! Yeah! And I make everything by myself! :D >! ![](http://www.freemmorpgmaker.com/files/imagehost/pics/aa6daeb34b92de7fb587dcccd476a1a8.GIF) >! ![](http://www.freemmorpgmaker.com/files/imagehost/pics/3ae7f6ef0a1a06c7507be8bfb48cb98a.GIF) The functions are a lot, but you can easly understand how many simple is now -lol-. [ CharEdit.exe ] stucked me everytime. Now.. I can edit everything without to get errors! - Example: I can evade from limits of level and similar. I wish to test this way on maps, too. Indeed it can be useful to edit something of naive (NPC locations and so on) without to open the client everytime. Client is Client, I wish to work only with Server for similar things. Well, I'm waiting for your suggestions, if you have. :D
×
×
  • Create New...