VitinhooxD Posted July 24, 2009 Share Posted July 24, 2009 want help with the attack script? i think i can help! Link to comment Share on other sites More sharing options...
Patrick Posted July 24, 2009 Share Posted July 24, 2009 Ok pm me with the details. Link to comment Share on other sites More sharing options...
Dennys Posted July 24, 2009 Author Share Posted July 24, 2009 YOu will need TO add this Undex Function GetMapNpcNumber:```Function GetMapPetNumber(ByVal MapNum As Long, ByVal Index As Long) As Long GetMapPetNumber = MapPET(MapNum, Index).numEnd Function```Ad then use THis COmmand:```Case "/sp"Dim PetIndexDim MapDim XDim YDim PetNumMap = GetPlayerMap(Index)X = GetPlayerX(Index) + 1Y = GetPlayerY(Index) + 1PetIndex = 1For I = 1 to 15If GetMapPetNumber(map, NpcIndex) <> 0 Then PetIndex = PetIndex + 1 Exit ForElseNext IIf PetIndex > 14 Call PlayerMsg(Index, "Sorry Map Is Full.", BRIGHTGREEN) Exit SubEnd IfCall ScriptSpawnPet(PetIndex, Map, X, Y, TextSay(1))Exit Sub``` Link to comment Share on other sites More sharing options...
VitinhooxD Posted July 24, 2009 Share Posted July 24, 2009 better we talk via msn in real time =Dmcnugget add me [email protected] Link to comment Share on other sites More sharing options...
Dennys Posted July 24, 2009 Author Share Posted July 24, 2009 We should make a 4way chat Link to comment Share on other sites More sharing options...
Patrick Posted July 24, 2009 Share Posted July 24, 2009 Ah ok. I see what the problem was. Link to comment Share on other sites More sharing options...
VitinhooxD Posted July 24, 2009 Share Posted July 24, 2009 whats is 4way chat blood? Link to comment Share on other sites More sharing options...
Dennys Posted July 24, 2009 Author Share Posted July 24, 2009 a chat between 4 people… Link to comment Share on other sites More sharing options...
VitinhooxD Posted July 24, 2009 Share Posted July 24, 2009 hmm sorry i'm not american =X Link to comment Share on other sites More sharing options...
Patrick Posted July 24, 2009 Share Posted July 24, 2009 gtg guys. I'll be back. Link to comment Share on other sites More sharing options...
VitinhooxD Posted July 24, 2009 Share Posted July 24, 2009 Bloodmyst when the player spwans the pet you put , some vars of the pet level strengh etc?EDIT : SUGGEST: make a command like GetPlayerPet(index)if it i'm sure i can do the pet attack system! Link to comment Share on other sites More sharing options...
Dennys Posted July 24, 2009 Author Share Posted July 24, 2009 Ohhh….. I forgot about that lol got to redo some COdes Then....See tahst why i wanted only 1 person to Edit/Add Stuff to teh COde at a time Link to comment Share on other sites More sharing options...
Dennys Posted July 24, 2009 Author Share Posted July 24, 2009 Or atleast for all of us to be able to Modify it at the same time, like oevr SVN…. Link to comment Share on other sites More sharing options...
Ridrik Posted July 24, 2009 Share Posted July 24, 2009 I need to chat too l;) Link to comment Share on other sites More sharing options...
Mr. Bob Firefarter Posted July 24, 2009 Share Posted July 24, 2009 You guys are doing a great job! :azn:NOTE: This IS constructive. I'm giving them motivation! Link to comment Share on other sites More sharing options...
Dennys Posted July 24, 2009 Author Share Posted July 24, 2009 RidRik how about you finish what you are doing and you send over, ill Add in the Spawning Scripts? Link to comment Share on other sites More sharing options...
VitinhooxD Posted July 24, 2009 Share Posted July 24, 2009 Please guys , downlaod Mirc i'm making a chat channel to usChannel name EclipsePetSystemChatPAss : 15975300 Link to comment Share on other sites More sharing options...
Dennys Posted July 24, 2009 Author Share Posted July 24, 2009 i have Mirc Link to comment Share on other sites More sharing options...
VitinhooxD Posted July 24, 2009 Share Posted July 24, 2009 SO enter in the channel is better talk in real time Link to comment Share on other sites More sharing options...
Dennys Posted July 24, 2009 Author Share Posted July 24, 2009 I cant connect Link to comment Share on other sites More sharing options...
VitinhooxD Posted July 24, 2009 Share Posted July 24, 2009 lolstrangetry you making a channel Link to comment Share on other sites More sharing options...
Dennys Posted July 24, 2009 Author Share Posted July 24, 2009 I need teh server Ip Link to comment Share on other sites More sharing options...
Ridrik Posted July 24, 2009 Share Posted July 24, 2009 http://armageddonz.ucoz.com/index/0-11 - go here, my web-site's chat room. way better. no software needed. Link to comment Share on other sites More sharing options...
VitinhooxD Posted July 24, 2009 Share Posted July 24, 2009 Prewien of the attack of the pet```Sub PetAttack(Index, Damage)Dim rndDim strDim target If GetPlayerPet(index) > 0 Thentarget = GetPlayerTarget(index)Damage = GetPetSTR(GetPlayerPet(index) , GetPlayerMap(index)) * 2str = GetPetSTR(GetPlayerPet(index) , GetPlayerMap(index))rnd = (str , 100)Select Case rndCase ElseIf Int(Damage) > 0 Then If Int(GetPlayerTarget(Index)) > 0 Then Target = GetPlayerTarget(Index) Call NPCAttack(GetPlayerPet(index)) , Target, Damage) Else Target = GetPlayerTargetNPC(Index) Call NPCAttack(GetPlayerPet(index)) , Target, Damage) End IfEnd If Else Exit Sub End IfEnd Select End Sub```then call in SUb OnAttack(index) PetAttack(index)NOTE you will need the two function i said! Link to comment Share on other sites More sharing options...
Dennys Posted July 24, 2009 Author Share Posted July 24, 2009 Awsome 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