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

cook

Members
  • Posts

    16
  • Joined

  • Last visited

    Never

cook's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I am still getting that error every time I go to click on the items. ``` TYPE: Type mismatch: 'CountPlayerInvItem' LINE:7 CLOUMN:0 CODE: ``` Does anybody know what this code means? What could I possibly be doing wrong? Ive tried everything. I go into server, scripts, events, scripteditem ess, place the correct code there in the correct spot and I still get the error.
  2. Yes I knew that. I didn't mean to make it sound like I was talking about the actual slots in the inventory. The items are items numbers 8,9, and 10\. I wish that was the mistake I made cuz then I would be that much closer to finding a fix.
  3. I just deleted and reinstalled the game from scratch, didnt change or touch anything except for input the code you gave me and I still get the error: ``` TYPE: Type mismatch: 'CountPlayerInvItem' LINE:7 CLOUMN:0 CODE: ``` This is exactly what Im doing… 1\. Put in your code so it looks like this ``` ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' Module: ScriptedItem.ess ' ' Author: Stephan J.R. van Schaik ' ' Date: August 30th, 2009. ' ' Version: 1.0.0 ' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' Function: ScriptedItem ' ' Brief: executes when somebody uses an item. ' ' Parameters: ' ' Index: the index of the player. ' ' Script: the script to execute. ' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Sub ScriptedItem(Index, Script, Slot) Select Case Script Case 0 Call PlayerMsg(Index, "This scripted item has no apparent use.", WHITE) Exit Sub Case 1 If CountPlayerInvItem(Index, 8, 1) > 0 And CountPlayerInvItem(Index, 9, 1) > 0 Then Call RemovePlayerInvItem(Index, 8, 1) Call RemovePlayerInvItem(Index, 9, 1) Call AddPlayerInvItem(Index, 10, -1) End If Exit Sub Case Else Call PlayerMsg(Index, "No item script found. Please contact an admin to solve this problem.", WHITE) Exit Sub End Select End Sub ``` 2\. Then I create 2 scripted items both of which use script 1. I use the eighth and ninth item spots for these items. 3\. Then I create a normal weapon item in the tenth item spot. 4\. Then I place items 8 and 9 on my map, pick them up, and try to use them. This is when I get the error.
  4. still haven't received any help that works. Please, there has to be somebody out there that knows a little about stable item + item = item scripts that actually work…
  5. ok, well so far Ive only attempted to put scripts into the server folder which is good except i still cant get it to work.
  6. I also wanted to repeat that my version of eclipse stable does indeed have a client\scripts\scripteditem ess file. Now with that being said is it necessary for me to copy that line of code into both the client scripteditem ess file and the server scripteditem ess file?
  7. Sorry but still nothing happens except for the same error message popping up. Just to make sure you know I am using Stable, incase that helps.
  8. Ok please be patient with me. Im doing something wrong, please help. Im getting this error: TYPE: Type mismatch: 'CountPlayerInvItem' LINE:7 CLOUMN:0 CODE: I'm attempting to use items number 8 and 9 to create item 10\. Now correct me if Im wrong but shouldnt I make items 8 and 9 script items, each being script number 1, an then make item 10 just a normal item? This is what my code looks like: Sub ScriptedItem(Index, Script, Slot) Select Case Script Case 0 Call PlayerMsg(Index, "This scripted item has no apparent use.", WHITE) Exit Sub Case 1 If CountPlayerInvItem(Index, 8, 1) And CountPlayerInvItem(Index, 9, 1) Then Call RemovePlayerInvItem(Index, 8, 1) Call RemovePlayerInvItem(Index, 9, 1) Call AddPlayerInvItem(Index, 10, -1) End If Exit Sub Case Else Call PlayerMsg(Index, "No item script found. Please contact an admin to solve this problem.", WHITE) Exit Sub End Select End Sub
  9. There seems to be 2 item scripts. One in the client and one in the server folder. Am I suppose to put that code in the same spot in both of them or just in one of them? Also where exactly in the code do I put it? This is where Im at…D:\Games\Eclipse\Eclipse-Stable\Server\Scripts\Events\ScriptedItem Where in this code do I put your code? And once its in how do I check to see if it works? Is it as simple as right clicking on one of the items or will it automatically create the desired item once I get the needed items in my inventory? Sub ScriptedItem(Index, Script, Slot) Select Case Script Case 0 Call PlayerMsg(Index, "This scripted item has no apparent use.", WHITE) Exit Sub Case Else Call PlayerMsg(Index, "No item script found. Please contact an admin to solve this problem.", WHITE) Exit Sub End Select End Sub
  10. cook

    Quick question…

    No way…so you would have to completely redo everything in order to create a game that you could make money off of? Where does it say that those are copyrighted? From what I've read your aloud to use everything that comes with the creator. It just doesn't make sense for somebody to create a game without the final outcome being that they could possibly make money off it if its good enough. Please dont take offense to this reply, Im simply trying to figure out the legal aspect of creating a real mmorpg, one that you could potentially make money off of. I appreciate your quick replies and any info you can offer on the subject as well as any links to verify the legality of using the defualt GUI and GFX.
  11. cook

    Quick question…

    To make money off an eclipse made game does every piece of content need to be custom made or can you use eclipse content as well? Obviously a good game would require you to make your content from scratch but is it legally necessary?
  12. cook

    Quick question…

    Has any completely finished a game and has it hosted to the point where they can make money off it? Is it possible to make money off an eclipse made game? Is there a site or link to finished eclipse games?
  13. That sounds simple enough, I'll test it out as soon as I get a chance. I have read a bunch of different script tuts and feel like I got the just of it, I just have a hard time with placement. Thanks for your help though, I cant wait to test this out.
  14. I am using Eclipse Stable and all I want is to be able to have an item creation aspect to my game, however every single script tutorial out there does not seem to be for Stable. And even if there was one out there made with Stable in mind it doesnt give good enough instructions on how and where to put all the code as well as testing it out. Could somebody please give me some detailed instructions on how to incorporate this into my game or maybe even a preconfigured main.txt for me to use?
  15. What am I doing wrong. I put in a couple different NPC monsters each with different stats and for some reason they dont move, they just sit there. I've mapped before on evo 2.7 and the npc's worked just fine. And yes I made sure that they are not sitting on blocked tiles or anything like that. Any help would be extremely helpful and appreciated.
×
×
  • Create New...