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

New Spells types, bind, warp, buffs, time limited, and more


Scorpious2k
 Share

Recommended Posts

  • Replies 117
  • Created
  • Last Reply

Top Posters In This Topic

Hey Scorpious2k, I tested with all types of NPC. Your spells doesn't kill Shop keeps and friendly NPCs, as expected. But it does kill Scripted NPCs. I dunno if this is set like this from game from the beginning.

I am sure you can script a certain scripted NPC to be not attacked but You think you can fix this? If you can really call this a fix? lol

-Thanks
Link to comment
Share on other sites

@Zamin:

> Hey Scorpious2k, I tested with all types of NPC. Your spells doesn't kill Shop keeps and friendly NPCs, as expected. But it does kill Scripted NPCs. I dunno if this is set like this from game from the beginning.

I am fairly sure that scripted NPCs are hit by spells currently. The question is, shouldn't they?
Link to comment
Share on other sites

Well, most likely no one will make a scripted NPC to be attacked. No? Most scripted NPC are used as quest givers. Is it possible to have an option in the Spell Editor whether scripted NPC can be targeted or no? Like a check box?

-Thanks
Link to comment
Share on other sites

@Zamin:

> Well, most likely no one will make a scripted NPC to be attacked. No? Most scripted NPC are used as quest givers. Is it possible to have an option in the Spell Editor whether scripted NPC can be targeted or no? Like a check box?

I think I would like to see a concensus on this. What does everyone else think?
Link to comment
Share on other sites

  • 2 weeks later...
I did everything right, but when I enter the game, everything is black character does not appear and is only one red bar on top, after the error and closes! Help!

I run in VB and debug is.  in Server Sub LeftGame.

PlayersOnMap(GetPlayerMap(index)) = NO

but I think this only happens because the map is all black and the character does not appear!
Link to comment
Share on other sites

@Noa:

> I did everything right, but when I enter the game, everything is black character does not appear and is only one red bar on top, after the error and closes! Help!
>
> I run in VB and debug is.  in Server Sub LeftGame.
>
> PlayersOnMap(GetPlayerMap(index)) = NO
>
> but I think this only happens because the map is all black and the character does not appear!

Did you try running the client in VB?
Link to comment
Share on other sites

Yes, I did debug and found that when I click on EXIT client, but
I did everything right when I enter the game is all black on the map and
la red bar above. I use Eclipse 1.2 Stable

But i think this problem is in server!
Link to comment
Share on other sites

@Noa:

> Yes, I did debug and found that when I click on EXIT client, but
> I did everything right when I enter the game is all black on the map and
> la red bar above. I use Eclipse 1.2 Stable
>
> But i think this problem is in server!

If it is, it is probably because the client is waiting for something from the server and isn't getting it. In other words, it is waiting for a packet before rendering the screen.
Link to comment
Share on other sites

@Zetasis:

> Sorry for the late reply been busy. Anyways, I downloaded the files you posted and replaced everything that needed replaced but when I try and run the server exe from the downloads I get an error saying Sub or Function not defined for this Call ClearSpellsPlayer. Anything I can do to fix this? I may have not added the files correctly or something but I though I just needed to replace the files that are there with the ones you posted.

I have got the same error, can you tell me how you fixed it?
I didn't download, it copied it to my server. I believe everything is in the right place…

I am running it from Eclipe Stable 1.2, vb6 server project

-Toxikr3
Link to comment
Share on other sites

Sorry for double post,

I downloaded the server and it compiled fine.
The client I downloaded it gave me an error,
Data/fmod not found (something like that)
However,
When I compiled mine,(the one I copy/pasted to) loads properly until the game screen. Then it gives me

Sub out of range

and points at this

Public Sub Packet_NpcMove(ByVal Index As Long, ByVal X As Long, ByVal Y As Long, ByVal Dir As String, ByVal Move As Long)

    MapNpc(Index).X = X

It highlights MapNpc(Index).X = X

Whats wrong? :(

-Toxikr3

EDIT: I now got this error
MapNpc(n).Num = Val(Parse(2))

I get that error sometimes… its wierd. I run the client I see Sub out of range.
I try it a couple more times same error.
Then this error...

Help please.
Link to comment
Share on other sites

@Toxikr3:

> @Zetasis:
>
> > I get an error saying Sub or Function not defined for this Call ClearSpellsPlayer.
>
> I have got the same error, can you tell me how you fixed it?
> I didn't download, it copied it to my server. I believe everything is in the right place…
>
> I am running it from Eclipe Stable 1.2, vb6 server project
>
> -Toxikr3

Did you just download the files (modSpells.bas and the spell editor forms) and forget to add modSpells.bas to the project?
Link to comment
Share on other sites

@Scorpious2k:

> @Toxikr3:
>
> > @Zetasis:
> >
> > > I get an error saying Sub or Function not defined for this Call ClearSpellsPlayer.
> >
> > I have got the same error, can you tell me how you fixed it?
> > I didn't download, it copied it to my server. I believe everything is in the right place…
> >
> > I am running it from Eclipe Stable 1.2, vb6 server project
> >
> > -Toxikr3
>
> Did you just download the files (modSpells.bas and the spell editor forms) and forget to add modSpells.bas to the project?

Hm… that could be it... -_-

I'll give it ago again. Thanks,

-Toxikr3
Link to comment
Share on other sites

Well I tried both your client and server.

Server compiles fine, so far.
Client gives error on compile. Data/fmod.dll not found

points to this line:

result = FSOUND_Init(44100, 32, 0)

I looked in Source folder in client I see fmod file. Is that the same thing…?

Thanks for trying to help :P

-Toxikr3
Link to comment
Share on other sites

@Toxikr3:

> Client gives error on compile. Data/fmod.dll not found
>
> I looked in Source folder in client I see fmod file. Is that the same thing…?

It's not the same thing, you need to download [Fmod.dll](http://www.mediafire.com/?wyymmjjtegx) and put it in your data file. Then register it with windows using regsvr32.
Link to comment
Share on other sites

@Noa:

> I created a new character and it worked perfectly, but all my
> maps are missing. and how do I import my maps and my player's?
> do not want to reset my server!

Have you made changes to the code? If you are using 2.7, 2.8, or stable 1.0 you could probably use my server and client code that I posted earlier. It has a dynamic fix in for characters. If it is an earlier version of the character, it automatically fixes it when they sign on.

Otherwise, I can try extracting that code out of mine and posting it here.
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...