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

tommy87

Members
  • Posts

    84
  • Joined

  • Last visited

    Never

tommy87's Achievements

Newbie

Newbie (1/14)

0

Reputation

  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.
×
×
  • Create New...