Jump to content

theunynck

Members
  • Posts

    72
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About theunynck

Profile Information

  • Gender
    Male
  • Location
    Belgium

theunynck's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. Dont wanne be rude but you realy realy need to learn how to progam in C# :) way faster and alot more addons are based on c# believe me but becos you allready know vb.net it will be easy to learn =) and another thing is... name your buttons :) it aint that much work ? btnConn... i mean its going to be much easyer :) But still nice work :) And people pleas stop saying spammer and blablabla cuz i almost think its also for a higher postcount :) just report to modernator :) he will judge ?
  2. I give away some free subs i dont use anyway got 100 of them so... just pm me if you want one you get an ftp account and aprox 2 - 5 gb space :)
  3. i got a question about games.. not how they are made but how do they produce the cd/dvd discs ?? i dont think they burn the game 1 by 1 on the cd :p
  4. Isnt there a rcon controler or something like that for css ? That you dont have to be IN the game but you can put in rcon's from the program and maybe follow the chat ??
  5. Well i got a server and when i put the file on the server my server doesnt wanne start anymore ! lol !
  6. This must work import sys from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance from java.util import Iterator from net.sf.l2j.gameserver.datatables import SkillTable from net.sf.l2j import L2DatabaseFactory from net.sf.l2j.gameserver.model.quest import State from net.sf.l2j.gameserver.model.quest import QuestState from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest qn = "60551_NPCBuffer" NPC=[60551] QuestId = 60551 QuestName = "NPCBuffer" QuestDesc = "custom" InitialHtml = "Npcbuffer.htm" print "Loaded: Buffer" class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent(self,event,st): htmltext = event if event == "100": st.getPlayer().restoreHPMP() return "Npcbuffer.htm" st.setState(COMPLETED) if event == "101": st.getPlayer().stopAllEffects() st.getPlayer().restoreHPMP() return "Npcbuffer.htm" st.setState(COMPLETED) if htmltext != event: st.setState(COMPLETED) st.exitQuest(1) return htmltext def onTalk (self,npc,player): st = player.getQuestState(qn) htmltext = "<html><head><body><center>ERROR<br1>Please, contact the administrator.</center></body></html>" st.setState(State.STARTED) return InitialHtml QUEST = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc) for npcId in NPC: QUEST.addStartNpc(npcId) QUEST.addTalkId(npcId)
  7. Try This import sys from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance from java.util import Iterator from net.sf.l2j.gameserver.datatables import SkillTable from net.sf.l2j import L2DatabaseFactory from net.sf.l2j.gameserver.model.quest import State from net.sf.l2j.gameserver.model.quest import QuestState from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest qn = "60551_NPCBuffer" NPCS=[60551] ADENA_ID=57 QuestId = 60551 QuestName = "NPCBuffer" QuestDesc = "custom" print "Loaded: Buffer" class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent(self,event,st): htmltext = event count=st.getQuestItemsCount(ADENA_ID) if count < 0 or st.getPlayer().getLevel() < 1 : htmltext = "<html><head><body>Come back later.<br></body></html>" else: st.takeItems(ADENA_ID,0) st.getPlayer().setTarget(st.getPlayer()) if event == "100": st.getPlayer().stopAllEffects() st.getPlayer().restoreHPMP() return "1.htm" st.setState(COMPLETED) if event == "101": st.getPlayer().restoreHPMP() return "1.htm" st.setState(COMPLETED) if htmltext != event: st.setState(State.COMPLETED) st.exitQuest(1) return htmltext def onTalk (self,npc,player): st = player.getQuestState(qn) htmltext = "<html><head><body><center>ERROR<br1>Please, contact the administrator.</center></body></html>" st.setState(State.STARTED) return InitialHtml QUEST = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc) for npcId in NPCS: QUEST.addStartNpc(npcId) QUEST.addTalkId(npcId)
  8. i thought it was 1.htm ?? and ofcourse for heal use this: if event == "xxx": change the xxx st.getPlayer().restoreHPMP() return "1.htm" st.setState(COMPLETED)
  9. to cancel put this into your py if event == "xxx": Change the red st.getPlayer().stopAllEffects() st.getPlayer().restoreHPMP() return "1.htm" st.setState(COMPLETED)
  10. lineage 3 is Tera the stolen project right ? Well i dont give a shit about it cuz if its the same gameplay as aion i dont play it... aion is boring and realy not good :) http://img100.imageshack.us/img100/118/tera03uc3.jpg[/img] http://mmobound.com/wp-content/gallery/tera/TERA_Screenshot_05.jpg[/img]
×
×
  • Create New...