-
Posts
1544 -
Joined
-
Last visited
-
Days Won
33 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by WeedHex
-
LOL
-
You can try with exp_table_common to change carefully.
-
New NPC doesn't show up
WeedHex replied to florin987's topic in Community Support - Questions & Answers
npclist.txt sorry my bad. MOBNUM[TAB]GR2NAME eg: 101 stray_dog -
Do it for us.
-
It's not possibile to do easly.
-
when 9012.click begin local map_data = { { ['section_name'] = "Title", ['page_size'] = 2, ['window_size'] = 330, ['section_data'] = { {['name']="Village 1 - Shinsu",['coord']={{474300,954800},{474300,954800},{474300,954800}},['price']=0,['min_level']=1}, {['name']="Village 1 - Chunj",['coord']={{63800,166400},{63800,166400},{63800,166400}},['price']=0,['min_level']=1} }, { ['section_name'] = "Title2", ['page_size'] = 2, ['window_size'] = 330, ['section_data'] = { {['name']="xxx",['coord']={{402100,673900},{270400,739900},{321300,808000}},['price']=10000,['min_level']=25}, {['name']="xxx",['coord']={{283500,807900},{283500,807900},{283500,807900}},['price']=120000,['min_level']=25} }, local section_menu = {} for i = 1, table.getn(map_data) do table.insert(section_menu, map_data[i].section_name) end table.insert(section_menu, "Exit") local race = npc.get_race() say("Where want to go?[ENTER]") local s = select_table(section_menu) if s == table.getn(section_menu) then return end local map_menu = {} local page_size = map_data[s].page_size local i = 1 local final_index = 0 while final_index < table.getn(map_data[s].section_data) do local current_page = {} final_index = i+page_size-1 if final_index > table.getn(map_data[s].section_data) then final_index = table.getn(map_data[s].section_data) end for j = i,final_index do table.insert(current_page, map_data[s].section_data[j].name) end if final_index != table.getn(map_data[s].section_data) then table.insert(current_page, "Avanti") end table.insert(current_page, "Exit") table.insert(map_menu, current_page) i = i+page_size end local window_size = map_data[s].window_size local page_counter = 1 local sel repeat say_title(mob_name(race).." - Page "..page_counter) say("Chose Map:") say_size(350, window_size) sel = select_table(map_menu[page_counter]) if sel == table.getn(map_menu[page_counter]) then return elseif ((sel == table.getn(map_menu[page_counter])-1) and (page_counter != table.getn(map_menu))) then page_counter = page_counter+1 else break end until false local selected_map = map_data[s].section_data[sel+page_size*(page_counter-1)] if ((pc.get_level() < selected_map.min_level) or (selected_map.max_level != nil and pc.get_level() > selected_map.max_level)) then say_title(mob_name(race)) say("Level: "..selected_map.min_level..".") if selected_map.max_level != nil then say("Level req. "..selected_map.max_level..".") end say("") return elseif pc.get_gold() < selected_map.price then say_title(mob_name(race)) say("Pay") say("xx "..selected_map.price.." Yang.[ENTER]") return end local emp = pc.get_empire() pc.change_gold(-selected_map.price) pc.warp(selected_map.coord[emp][1], selected_map.coord[emp][2]) end end end
-
Post the quest
-
Link fonction uiinventory.py -> game.py
WeedHex replied to hardy89's topic in Community Support - Questions & Answers
import game self.BlaBla = game.ClassNameWhereIsTheFunction() self.BlaBla.FunctionToUse() -
Spiderdungeon3 texture problem
WeedHex replied to Aliano's topic in Community Support - Questions & Answers
There were errors from WorldEditor. Main 3D object of the rooms was caught on the floor. Floor was black and make the graphic error. Doing the invisible terrain, problem will be solved. -
You can use only if (!sectree->IsAttr(GetX(), GetY(), ATTR_BANPK)) { ChatPacket(CHAT_TYPE_INFO, "You cannot open a shop here (use safezone)."); return; } LOL
-
Is full of tutorial on google about this things.
-
New NPC doesn't show up
WeedHex replied to florin987's topic in Community Support - Questions & Answers
root/npc.txt -
It's telling how to fix: 'AttachSash': is not a member of 'CActorInstance' --- In/gamelib/ActorInstance.h(24): Need to have AttachSash So what: Find: void SetHair(DWORD eHair) in /gamelib/ActorInstance.h Put under: #ifdef ENABLE_YOURSYSTEM void AttachSash(CItemData * pItemData, float fSpecular = 0.0f); #endif Regards , WeedHex
-
Spiderdungeon3 texture problem
WeedHex replied to Aliano's topic in Community Support - Questions & Answers
YourMap->Setting.txt-> Put on the last line: TerrainVisible 0 -
connection refused.. How can I fix it
WeedHex replied to 3talla's topic in Community Support - Questions & Answers
Account->iptocountry what's inside there? -
Help Vanilla db crash.
WeedHex replied to beniamin201's topic in Community Support - Questions & Answers
Did you set: "set gnutarget i386-marcel-freebsd"? Are you stripping your file game? (strip -s) -
if pc.getqf("qf_name") >0 then pc.setqf("qf_name",0) end
-
Are you stripping the game file?? What's your file game's size?