Marggraf
-
Posts
268 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Marggraf
-
-
or
after upload lib..
Help guys please
-
The title says it all.
now i have gcc4
makefile db
SpoilerMAKE = gmake
CC = g++INCDIR =
LIBDIR =
BINDIR = ..
OBJDIR = .objGCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3 | cut -d'.' -f1)
BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)
P4_VERSION = 40250
SVN_VERSION = $(shell svnversion -n .)
$(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi)TARGET = $(BINDIR)/dbfile
CFLAGS = -g3 -ggdb -pipe -fno-rtti -fno-exceptions -pthread -D_THREAD_SAFE
ifeq ($(GCC_VERSION), 4)
CFLAGS += -mtune=i686
else
CFLAGS += -mcpu=i686
endif# boost
INCDIR += -I../../boostLIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib -L/usr/local/lib/mysql
ifeq ($(BSD_VERSION), 7)
INCDIR += -I../../libmysql/7.x-5.1.35
LIBDIR += -L../../libmysql/7.x-5.1.35
else
INCDIR += -I../../libmysql/5.x-5.1.35
LIBDIR += -L../../libmysql/5.x-5.1.35
endifLIBS = -lthecore -lmysqlclient -lsql -lpoly -lgame -lm -lz
SRCS = Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp \
Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp \
ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp \
PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp \
Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp \
AuctionManager.cpp ProtoReader.cpp CsvReader.cppOBJS = $(SRCS:%.cpp=$(OBJDIR)/%.o)
default: $(TARGET)
$(TARGET): $(OBJS)
@echo linking ...
@$(CC) $(CFLAGS) $(LIBDIR) $(OBJS) $(LIBS) -o $(TARGET)
@touch version.cpp$(OBJDIR)/%.o: %.cpp
@echo compile $<
@$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@$(OBJDIR)/version.o: version.cpp
@$(CC) $(CFLAGS) -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__P4_VERSION__=\"$(P4_VERSION)\" -c $< -o $@
@echo compile $<$(OBJDIR):
@mkdir $(OBJDIR)clean:
@rm -f $(OBJS) $(BINDIR)/db_r*dep:
@touch Depend
makedepend -fDepend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(SRCS) 2> /dev/null
sinclude Depend
-
hy guys,help me with core....
in this video is bt,bt full and last syser from ch1_1,ch1_2 and db
- 1
-
lvl max? over 120?
-
move to: createcharacterwindow.py (from uiscript) in: locale_xx/locale/xx/ui
-
quest giveitem begin state start begin when login with pc.getqf("basic_weapon") == 0 begin makequestbutton("Informations") pc.setqf("basic_weapon", 1) addimage ( - 100 , - 70 , "004.tga" ) if pc.job == 0 then pc.give_item2(11209,1) pc.give_item2(12209,1) pc.give_item2(00019,1) pc.give_item2(03009,1) elseif pc.job == 1 then pc.give_item2(11409,1) pc.give_item2(12349,1) pc.give_item2(01009,1) pc.give_item2(02009,1) pc.give_item2(08000,200) elseif pc.job == 2 then pc.give_item2(11609,1) pc.give_item2(12489,1) pc.give_item2(00019,1) elseif pc.job == 3 then pc.give_item2(11809,1) pc.give_item2(12629,1) pc.give_item2(05009,1) pc.give_item2(07009,1) end pc.give_gold(10000000) --10 000 000 Yangs pc.give_item2(50053, 1) --Livre cheval de combat pc.give_item2(27003, 200) --Potion Rouge(G) x200 pc.give_item2(27006, 200) --Potion Bleue(G) x200 pc.give_item2(27112, 200) --Potion Verte(G) x200 pc.give_item2(71050, 200) --Potion Violette x200 pc.give_item2(70038, 200) --Capes x200 pc.give_item2(15009, 1) --Chaussures de cuir+9 pc.give_item2(13009, 1) --Bouclier de bataille+9 pc.give_item2(14009, 1) --Bracelet de bois+9 pc.give_item2(16009, 1) --Collier de bois+9 pc.give_item2(17009, 1) --Boucles oreilles bois+9 pc.give_item2(72702, 1) --Bottes du Vent+ pc.give_item2(70005, 1) --Anneau d'expérience if game.get_safebox_level()==0 then game.set_safebox_level(1) end pc.set_skill_level(131, 1) repeat horse . advance () until horse . get_level () >= 21 horse.summon() horse.ride() --- say_title(""..pc.name..", Bienvenue sur Asgard !") say_noir("[ENTER]Les grands sages ont décidé de vous aider pour") say_noir("le début de l'aventure et vous on fait grâce de") say_noir("plusieurs présents :") say_gris("> monture niveau 21") say_gris("> équipement du débutant +9 (potions, bouclier,[ENTER]armure, armes et bijoux)[ENTER]") say_noir("Alors qu'attendez-vous ?[ENTER]Bon courage dans les provinces d'Asgard ![ENTER]") say_noir("(N'oubliez pas de respecter le règlement.[ENTER]+ d'infos sur le forum et le site.)[ENTER]") return end when button or info begin addimage ( - 100 , - 70 , "004.tga" ) say_title("Informations.") say_noir("[ENTER]Vous pouvez aller voir Madame Irma, elle vous[ENTER]donnera quelques petites astuces !") say_noir("Mais attention elle n'a pas toute sa tête, il faut[ENTER]lui parler plusieurs fois pour avoir plus d'infos ![ENTER]") say_gris("Les astuces sont au nombre de 4 pour le moment.[ENTER]") clear_letter() end end end
try this
-
On 6/2/2014 at 3:12 PM, Sanchez said:
As I know urllib does not works with Windows 8 - 8.1, so be careful with it.
look:
-
problem is in introCreate.py
upload on pastebin.com
-
show
"system.py", line 137
-
char.cpp in void CHARACTER::ResetPoint(int iLv) ,search for
PointChange(POINT_STAT, ((MINMAX(1, iLv, 99) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
and change
99 in the level max
-
post quest code here
-
Hi guys,
This player has the names of 22 characters,but do not know how
1.In client,you create character can use only 12
2.In mysql,player length is 12 ,but his name is OttovordemgentschenfeldThis player can give dmg in safezone
-
search for:
if pc.learn_grand_master_skill(skill_vnum) then
cheange in
if numer(1,10) > 9 then
9=90% chance of succes
-
Help me,please
-
upload the file,and give the link
- 1
-
-
-
cmd_general,in do_ride,replace this if (ch->IsDead() || ch->IsStun()) with if (ch->IsDead() || ch->IsStun() || ch->IsPolymorphed())
-
hi guys,help with crash,please!
bt:
bt full:
char_manager and main:
char_battle:
event:
-
omg,help me
-
Upgrade at python27.dll
-
omg,almost 110 views and no answer
-
-
Problem with PeekPacket: not enough buffer size!!! HELP ME
in Community Support - Questions & Answers
Posted · Edited by Metin2 Dev
Core X - External 2 Internal
is dbfile,not gamefile
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif