WoW-Dev FAQ

Status
Not open for further replies.
Delete your WDB folder and then start the WoW.emu, it should change your weapon. If not, just copy the code and put it at the bottom of the list, and just put a new number on it.

Good luck,

I didn't make the links for AFG, it's only a 'reference' link. And are you saying that you didn't download AFG or you did?
 
Last edited:
Ok, here's another problem.

Saywow won't let me change the loot my mobs drop, so is there any other way to do it? I put the multiplyer at 1, so 1 times normal loot, and a level 5 non-elite humaniod mob gave out 1 gold and 44 silver.

So, any help?

Thanks for the wdb thing, by the way.
 
SayWoW multiplies it, and you if you do math at all, you'll notice that something x1 = the same thing.

So if you put it at x2 drops, and times it by 1. It's 2x1 = 2 still. What you have to do is get the old version of the items.scp or Original Version. That's why with WoWemu whenever changing stuff, make a backup of it first =)

Good luck,

P.S. I think i posted the Items.scp in one of the FAQ's.
 
Well, got another issue. Can't get anyone to connect to my server cept me. I connect just fine, I went over to thier houses and personally installed thier wow, just like mine, did all the same things to it, and I just can't get them on.

They can sign in, and connect, but they get stuck at the realmlist and they keep getting kicked out to it, over and over.

If this has already been answered, please, just link me. But I tried searching...so, I'm not a complete noob.
 
Also, Since this is a thread about all things developement-wise. Has anyone figured out how to change a PC's Faction. Like, to set a Human to be Horde Friendly, or a troll Alliance Friendly.
 
hey,...
what about those Game Objects??
i am still waiting
nervous...cause i can wait to learn hot to do it!!!
does someone has teh elf furniture by the way???

thanks man...let me know whenyou do it!
 
I'm sorry Mucus, I thought I sent you a message saying that I just don't have time to work on many FAQ's anymore =\

I've really gotten into my Real-Server chars, and now have a 60 warrior, 60 lock, 60 druid, 54 rogue...

I have 2 guilds and we raid every damn day...but it'd proven to be well worth it as I have the gear that I would have had to 'cheat' to get with the Private-Servers.

Druid: 7/8 Cenarion
1/8 Stormrage
Sorcerous Dagger
Will of Arlokk

Warrior: 2/8 Might
0/8 Wrath
Drillborer Disk

Warlock: 4/8 Felheart
0/8 Nemesis
Fire Runed Grimoire


As you can see, I'm doing fairly well, all that is from about 2 months of raiding MC, BWL, ZG, etc. I still play the PS sometimes, but not much anymore, and I'm sorry if I left you hanging, but I realized that the reward is so much sweeter when it's considered an accomplishment rather than a quick 'success'. You guys might call me a weak pansy, but I like what I've done with my characters, and I know that I didn't have to cheat to get there.

Good luck to you guys, I will still be around here sometimes, but not as much as a couple months ago. I do hope that one day we can all make a 'perfect' server and really show Blizz up.


Thanks for all the fun guys, was great,
 
i have a problem i am trying to make my own server but im lost really i did as my friend said and just copied the folder and deleted patch.mpq ran repair and now updating to v 1.9.0 what i dont know is how to proceed iwe downloaded miniemu but i dont know how to configure so that my wow client logs onto that server that it is creating im really stuck here
edit:ok new problem when i started the any version to 1.9.0 that i got from a link in the patch topic [lexx] made it said couldn't find a patch3.mpq file and stopped what should i do now?
 
well i am stuck with the bat creator, it wont let me locate my wow.exe file
it only lets me go into folders
 
With changing the Exp

i tried to find
set base_xp [expr {(100.0*($killer_level-1))+50.0**]
set xp $base_xp

but in my startup file i could not find these :no:
this is my startup's content =
-----------------------------------------------------------------------------
#
# Global defines
#
# system-wide default configuration variables
#
variable DEBUG 0
variable VERBOSE 1
variable LANG default


#
# namespace eval ::StartTCL
#
# startup namespace and variable definitions
#
namespace eval ::StartTCL {
variable NAME "StartTCL"
variable VERSION "0.9.2"

variable AUTHOR "Lazarus Long & Spirit"
variable HEADER "$NAME v$VERSION\tGNU LGPL V2.1 (c) by $AUTHOR"

variable timeup [ clock seconds ]

variable basedir "scripts"
variable scriptsdirs {**
variable scripts {**

variable levels
array set levels {
a 100
b 200
c 300
n 500
z 999
**

variable libcount 0
variable tclcount 0
variable tbccount 0

variable errors ""

variable packages
variable loading_index 0

variable use_conf_file 1
variable conf_file "$basedir/conf/start-tcl.conf"

# default configuration variables
variable SKIP_DUPES 0
variable SCRIPTS_DIR "$basedir/tcl"
**


#
# namespace eval ::WoWEmu
# namespace eval ::WoWEmu::Commands
# namespace eval ::AI
# namespace eval ::SpellEffects
#
# TCL API namespaces initialization
#
namespace eval ::WoWEmu {**
namespace eval ::WoWEmu::Commands {**
namespace eval ::AI {**
namespace eval ::SpellEffects {**


#
# namespace eval ::Custom
#
# Custom namespace initialization
#
namespace eval ::Custom {**


#
# Default configuration variables
#

#
# for the WoWEmu namespace
#
namespace eval ::WoWEmu {
variable GM_NODAMAGE 1
variable MAX_LEVEL 60
variable MAX_DISTANCE 100000
variable MAX_LEVEL_DIFF 5
variable XP_RATES {1.0 2.0 2.5 3.0 1.5**
variable MOB_LOG 0
variable MAX_DAMAGE_REDUCTION 0.75
variable ALLOW_RESURRECT_PLAYERS 1
variable ALLOW_PLAYER_DISMOUNT 1
variable BROADCAST_WITH_NAME 0
variable LOG_GM 1
**

#
# for the AI namespace
#
namespace eval ::AI {
variable GM_NOAGGRO 1
variable BASE_AGGRO_DIST 20
variable MIN_AGGRO_DIST 5
variable MAX_AGGRO_DIST 30
variable UNAGGRO_DIST 40
variable MELEE_SPELL_CASTING 1
variable HUMANOID_SAY 1
**


#
# proc ::StartTCL::SortFolders { list **
#
# procedure to order a list of folders according to StartTCL rules.
#
proc ::StartTCL::SortFolders { list ** {
return [ lsort -dictionary -increasing $list ]
**


#
# proc ::StartTCL::SortFiles { list **
#
# procedure to order a list of files according to StartTCL rules.
#
proc ::StartTCL::SortFiles { list ** {
variable levels
set result {**

foreach file $list {
set handle [ open $file ]
set level "n"
set pair {**

while { ! [ eof $handle ] ** {
if { ! [ gets $handle line ] ** {
continue
**

set line [ string trim $line ]

if { [ string length $line ] && [ expr { ! ( ! [ string first "#" $line ] ) ** ] ** {
break
**

set line [ string trim [ string trim [ string trim [ string trim $line \# ] ] \# ] ]

if { [ regexp -nocase {start-?tcl *:** $line ] ** {
set level [ string tolower [ string trim [ lindex [ split $line : ] 1 ] ] ]
break
**
**

close $handle

if { [ string length $level ] == 3 && [ string is digit $level ] ** {
** elseif { ! ( ! [ llength [ array names levels $level ] ] ) ** {
set level $levels($level)
** else {
set level $levels(n)
**

lappend pair $level $file
lappend result $pair
**

set result [ lsort -dictionary -increasing -index 1 $result ]

for { set i 1 ** { $i < [ llength $result ] ** { incr i ** {
if { [ expr { [ string tolower [ string range [ lindex $result [ expr { $i - 1 ** ] 1 ] 0 [ expr { [ string last . [ lindex $result [ expr { $i - 1 ** ] 1 ] ] - 1 ** ] ] ] eq [ string tolower [ string range [ lindex $result $i 1 ] 0 [ expr { [ string last . [ lindex $result $i 1 ] ] - 1 ** ] ] ] ** ] ** {
if { $::StartTCL::SKIP_DUPES ** {
set result [ lreplace $result $i $i ]
incr i -1
** else {
if { $::VERBOSE ** {
puts "[ ::Custom::LogPrefix ]WARNING!\n[ ::Custom::LogPrefix ]WARNING! Found \[[ lindex $result [ expr { $i - 1 ** ] 1 ]\] and \[[ lindex $result $i 1 ]\],\n[ ::Custom::LogPrefix ]WARNING! this may indicate a duplicate script and render unexpected errors!\n[ ::Custom::LogPrefix ]WARNING!"
**
**
**
**

set list {**

foreach pair [ lsort -dictionary -increasing -index 0 $result ] {
foreach { order file ** $pair {
lappend list $file
**
**

unset result
return $list
**


#
# proc ::StartTCL::Provide { name args **
#
# procedure to simulate the provide facility of the package command
#
proc ::StartTCL::Provide { args ** {
variable packages

if { $args == "" ** {
set name [ namespace tail [ uplevel namespace current ] ]
if { $name != "" ** {
if { [ info exists ::${name**::VERSION ] ** {
set version [ set ::${name**::VERSION ]
** else {
set version 0
**
return [ set packages($name) $version ]
**
**

foreach { name version ** [ join $args ] {
if { $name == "" ** {
continue
**

if { $version == "" ** {
set version 0
**

set packages($name) $version
**
**


#
# proc ::StartTCL::Require { name args **
#
# procedure to simulate the require facility of the package command
#
proc ::StartTCL::Require { args ** {
variable packages

if { ! [ string first [ lindex $args 0 ] "-exact" ] ** {
set exact 1
set args [ lrange $args 1 end ]
** else {
set exact 0
**

foreach { name version ** [ join $args ] {
if { $name == "" ** {
continue
**

if { $version == "" ** {
set version 0
**

if { [ info exists packages($name) ] ** {
if { $exact && $packages($name) != $version || $packages($name) < $version ** {
return -code 1 "Script $name v$version required but got v$packages($name)."
**

continue
**

if { $::VERBOSE && $::DEBUG ** {
puts "[ ::Custom::LogPrefix ]\[[ info script ]\] (loading delayed)"
**

::StartTCL::LoadScripts $name $version

if { [ info exists packages($name) ] ** {
if { $exact && $packages($name) != $version || $packages($name) < $version ** {
return -code 1 "Script $name v$version required but got v$packages($name)."
**

continue
**

return -code 1 "Script $name v$version required but it could not be found."
**

return -code 0
**


#
# proc ::StartTCL::LoadScripts { name version **
#
# procedure to load the scripts (Script files processing)
#
proc ::StartTCL::LoadScripts { {name ""** {version 0** ** {
variable packages
variable scripts
variable loading_index

while { $loading_index < [ llength $scripts ] ** {
set current_index $loading_index
set script [ lindex $scripts $current_index ]
incr loading_index

if { $::DEBUG ** {
uplevel "#0" source \{$script\**

if { [ string match -nocase [ lindex [ split $script . ] end ] tcl ] ** {
incr ::StartTCL::tclcount
** else {
incr ::StartTCL::tbccount
**

if { $::VERBOSE ** {
puts "[ ::Custom::LogPrefix ]\[$script\] loaded"
**
** else {
if { [ catch { uplevel "#0" source \{$script\** ** ] ** {
if { $::VERBOSE ** {
puts "[ ::Custom::LogPrefix ]\[$script\] *** LOADING FAILED ***"
**

append ::StartTCL::errors "\n[ ::Custom::LogPrefix ]Failed to load the script \[$script\]: $::errorInfo"
** else {
if { [ string match -nocase [ lindex [ split $script . ] end ] tcl ] ** {
incr ::StartTCL::tclcount
** else {
incr ::StartTCL::tbccount
**

if { $::VERBOSE ** {
puts "[ ::Custom::LogPrefix ]\[$script\] loaded"
**

if { $name != "" ** {
if { [ info exists packages($name) ] ** {
if { $packages($name) < $version ** { return -code 1 "$name v$version required but got v$packages($name)" **
return -code 0
**
**
**
**
**

return -code 0
**


#
# Early definitions of some Custom procedures
#

#
# proc ::Custom::ReadConf { file **
#
# procedure to read a given configuration file and return a list of list with
# the format {section {key value****.
#
proc ::Custom::ReadConf { file ** {
if { ! [ file exists $file ] ** {
return
**

set conf {**
set section {**
set data {**
set hconfig [ open $file ]

while { [ gets $hconfig line ] >= 0 ** {
set line [ ::Custom::DropNoise $line ]

if { [ string index $line 0 ] == "\[" ** {
if { [ llength $data ] ** {
lappend conf $section $data
**

set data {**
set section [ lindex [ split $line {[]** ] 1 ]
** else {
set line [ split $line "=" ]
set key [ string trim [ lindex $line 0 ] ]
if { [ string is false $key ] ** {
continue
**

set value [ string trim [ lindex $line 1 ] ]

if { [ string index $value 0 ] == "\"" ** {
set value [ string trim [ lindex [ split $value "\"" ] 1 ] ]
**

lappend data $key $value
**
**

close $hconfig

if { [ llength $data ] ** {
lappend conf $section $data
**

return $conf
**


#
# proc ::Custom::DropNoise { string { comment_tags {\# //** ** **
#
# procedure to discard comment chars and white space from a given string.
#
proc ::Custom::DropNoise { string { comment_tags {\# //** ** ** {
foreach tag $comment_tags {
set pos [ string first $tag $string ]

if { $pos >= 0 ** {
set string [ string range $string 0 [ expr { $pos - 1 ** ] ]
**
**

return [ string trim $string ]
**


#
# proc ::Custom::LogPrefix { **
#
# procedure to return a standard WoWEmu console prefix entry.
#
proc ::Custom::LogPrefix { ** {
return "[ clock format [ clock seconds ] -format %k:%M:%S ]:M:"
**


namespace eval ::StartTCL {
#
# Loading variables from configuration file
#
if { $::StartTCL::use_conf_file ** {
foreach { section data ** [ ::Custom::ReadConf $::StartTCL::conf_file ] {
if { [ string match -nocase $section "Global" ] ** {
set section ::
** else {
foreach ns [ namespace children :: ] {
if { [ string tolower $ns ] == [ string tolower "::$section" ] ** {
set section $ns
unset ns
break
**
**
**

if { ! [ namespace exists $section ] ** { continue **

foreach { key value ** $data {
set ${section**::[ string toupper $key ] $value
**
**
**
**

#
# Header
#
if { $::VERBOSE ** {
puts "[ ::Custom::LogPrefix ]\n[ ::Custom::LogPrefix ]\t$::StartTCL::HEADER\n[ ::Custom::LogPrefix ]"
**


#
# Helper libraries (DLLs)
#
if { $::VERBOSE ** {
puts "[ ::Custom::LogPrefix ]Loading helper libraries (DLLs)"
**

foreach dir [ ::StartTCL::SortFolders [ glob -nocomplain -type d lib/* ] ] {
if { $::VERBOSE ** {
puts "[ ::Custom::LogPrefix ]Processing folder \[$dir\]"
**

if { $::DEBUG ** {
source $dir/pkgIndex.tcl
incr ::StartTCL::libcount
** else {
if { [ catch { source $dir/pkgIndex.tcl ** ] ** {
append ::StartTCL::errors "\n[ ::Custom::LogPrefix ] Failed to process the loader script in \[$dir\]: $errorInfo"
** else {
incr ::StartTCL::libcount
**
**
**


#
# Second level scripts
#
if { $::VERBOSE ** {
puts "[ ::Custom::LogPrefix ]Loading second level scripts"
**


#
# Script files acquiring
#
lappend ::StartTCL::scriptdirs $::StartTCL::SCRIPTS_DIR

foreach dir [ glob -nocomplain -type d $::StartTCL::SCRIPTS_DIR/* ] {
lappend ::StartTCL::scriptdirs $dir
**

foreach dir $::StartTCL::scriptdirs {
foreach script [ glob -nocomplain "$dir/*.tcl" "$dir/*.tbc" ] {
lappend ::StartTCL::scripts $script
**
**


#
# Script files processing
#
set ::StartTCL::scripts [ ::StartTCL::SortFiles $::StartTCL::scripts ]
::StartTCL::LoadScripts


#
# Done
#
if { $::StartTCL::errors != "" ** {
return "ERROR(S): $::StartTCL::errors"
** else {
if { $::VERBOSE ** {
return "Startup sequence done.\n[ ::Custom::LogPrefix ]\n[ ::Custom::LogPrefix ]Loaded:\n[ ::Custom::LogPrefix ]\t$::StartTCL::libcount helper libraries\n[ ::Custom::LogPrefix ]\t$::StartTCL::tclcount TCL scripts\n[ ::Custom::LogPrefix ]\t$::StartTCL::tbccount pre-compiled (TBC) scripts\n[ ::Custom::LogPrefix ]"
** else {
return "Startup sequence done (TCL count: $::StartTCL::tclcount, TBC count: $::StartTCL::tbccount)."
**
**

-----------------------------------------------------------------------------------------------

but in all of this i couldnt manage to find out a way to change the exp

if u could go through this and find it for me
it would be great !! xD

Thankyou i hope u can find it ><
 
hi gud. i cant download the fq7. Q-How do I change the amount of people that can be on at a time? in megaupload can you post it here link to other site. because my server only can run 2 client at a time when theres another to log in he can create but after the cinematics the server disconnected. thanks very much. more power and patience to the people like me (noobs).
 
Would there be a way to set it up so if you PLEVEL is 10 you cannot be affected by the .kill command? Like the spawnpoints- you cant .kill them, so I wonder if there is some whay to attach that to a certain PLEVEL??
 
Q:How can I create a custom mount from scrach with a model that is not originally made for a mount?
 
Status
Not open for further replies.
Back